IPHONE: Directly use the overlay's texture buffer instead of another intermediate buffer.

This commit is contained in:
Johannes Schickel 2012-02-23 21:34:12 +01:00
parent 2ab5958c93
commit 8edcedf3b6
3 changed files with 14 additions and 36 deletions

View file

@ -61,7 +61,7 @@ OSystem_IPHONE::OSystem_IPHONE() :
_screenOrientation(kScreenOrientationFlippedLandscape), _mouseClickAndDragEnabled(false),
_gestureStartX(-1), _gestureStartY(-1), _fullScreenIsDirty(false), _fullScreenOverlayIsDirty(false),
_mouseDirty(false), _timeSuspended(0), _lastDragPosX(-1), _lastDragPosY(-1), _screenChangeCount(0),
_overlayBuffer(0), _mouseCursorPaletteEnabled(false) {
_mouseCursorPaletteEnabled(false) {
_queuedInputEvent.type = Common::EVENT_INVALID;
_touchpadModeEnabled = !iPhone_isHighResDevice();
_fsFactory = new POSIXFilesystemFactory();