aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/osys_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/iphone/osys_main.cpp')
-rw-r--r--backends/platform/iphone/osys_main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp
index 9e73fe7756..368434c476 100644
--- a/backends/platform/iphone/osys_main.cpp
+++ b/backends/platform/iphone/osys_main.cpp
@@ -65,11 +65,7 @@ OSystem_IPHONE::OSystem_IPHONE() :
_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;
+ initVideoContext();
}
OSystem_IPHONE::~OSystem_IPHONE() {