diff options
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r-- | backends/platform/iphone/iphone_common.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h index 3c0365eff5..19e4f2ce9b 100644 --- a/backends/platform/iphone/iphone_common.h +++ b/backends/platform/iphone/iphone_common.h @@ -58,13 +58,14 @@ enum GraphicsModes { }; struct VideoContext { - VideoContext() : screenWidth(), screenHeight(), overlayVisible(false), + VideoContext() : asprectRatioCorrection(), screenWidth(), screenHeight(), overlayVisible(false), overlayWidth(), overlayHeight(), mouseX(), mouseY(), mouseHotspotX(), mouseHotspotY(), mouseWidth(), mouseHeight(), mouseIsVisible(), graphicsMode(kGraphicsModeLinear), shakeOffsetY() { } // Game screen state + bool asprectRatioCorrection; uint screenWidth, screenHeight; Graphics::Surface screenTexture; @@ -86,8 +87,6 @@ struct VideoContext { }; // On the ObjC side -void iPhone_setAspectRatioState(bool enable); -bool iPhone_getAspectRatioState(); void iPhone_updateScreen(); bool iPhone_fetchEvent(int *outEvent, int *outX, int *outY); const char *iPhone_getDocumentsDir(); |