diff options
author | Johannes Schickel | 2012-02-23 02:25:26 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-23 02:25:26 +0100 |
commit | 99ffbfedbcee50d46c49fdd2f78a409a51c91e3b (patch) | |
tree | 6e5e313c80cb5117610ed1b628784d9e10bcf2a0 /backends/platform/iphone/osys_main.cpp | |
parent | ab15435ad0aac842ab8321b833cae4e7459df01d (diff) | |
download | scummvm-rg350-99ffbfedbcee50d46c49fdd2f78a409a51c91e3b.tar.gz scummvm-rg350-99ffbfedbcee50d46c49fdd2f78a409a51c91e3b.tar.bz2 scummvm-rg350-99ffbfedbcee50d46c49fdd2f78a409a51c91e3b.zip |
IPHONE: Use VideoContext in OSystem_IPHONE.
Diffstat (limited to 'backends/platform/iphone/osys_main.cpp')
-rw-r--r-- | backends/platform/iphone/osys_main.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp index 2bdc09c9ce..9e73fe7756 100644 --- a/backends/platform/iphone/osys_main.cpp +++ b/backends/platform/iphone/osys_main.cpp @@ -55,18 +55,21 @@ SoundProc OSystem_IPHONE::s_soundCallback = NULL; void *OSystem_IPHONE::s_soundParam = NULL; OSystem_IPHONE::OSystem_IPHONE() : - _mixer(NULL), _gameScreenRaw(NULL), - _overlayVisible(false), _gameScreenConverted(NULL), - _mouseHeight(0), _mouseWidth(0), _mouseBuf(NULL), _lastMouseTap(0), _queuedEventTime(0), + _mixer(NULL), _gameScreenRaw(NULL), _gameScreenConverted(NULL), + _mouseBuf(NULL), _lastMouseTap(0), _queuedEventTime(0), _mouseNeedTextureUpdate(false), _secondaryTapped(false), _lastSecondaryTap(0), _screenOrientation(kScreenOrientationFlippedLandscape), _mouseClickAndDragEnabled(false), _gestureStartX(-1), _gestureStartY(-1), _fullScreenIsDirty(false), _fullScreenOverlayIsDirty(false), _mouseDirty(false), _timeSuspended(0), _lastDragPosX(-1), _lastDragPosY(-1), _screenChangeCount(0), - _overlayHeight(0), _overlayWidth(0), _overlayBuffer(0), _mouseCursorPaletteEnabled(false), - _currentGraphicsMode(kGraphicsModeLinear) { + _overlayBuffer(0), _mouseCursorPaletteEnabled(false) { _queuedInputEvent.type = Common::EVENT_INVALID; _touchpadModeEnabled = !iPhone_isHighResDevice(); _fsFactory = new POSIXFilesystemFactory(); + + _videoContext.mouseWidth = _videoContext.mouseHeight = 0; + _videoContext.overlayWidth = _videoContext.overlayHeight = 0; + _videoContext.overlayVisible = false; + _videoContext.graphicsMode = kGraphicsModeLinear; } OSystem_IPHONE::~OSystem_IPHONE() { |