aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/osys_main.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-25 20:21:06 +0100
committerJohannes Schickel2012-02-25 20:22:23 +0100
commit23732c7179ffe0e0a1d3ee3cdcefa5cee83e7518 (patch)
treef5efa266a200c144139f00b464d35fc0d250d4a7 /backends/platform/iphone/osys_main.cpp
parent97e486dee3a66bd8db0ca623ba65ba0a14da899d (diff)
downloadscummvm-rg350-23732c7179ffe0e0a1d3ee3cdcefa5cee83e7518.tar.gz
scummvm-rg350-23732c7179ffe0e0a1d3ee3cdcefa5cee83e7518.tar.bz2
scummvm-rg350-23732c7179ffe0e0a1d3ee3cdcefa5cee83e7518.zip
IPHONE: Get rid of _gameScreenRaw, instead use _framebuffer internally.
Diffstat (limited to 'backends/platform/iphone/osys_main.cpp')
-rw-r--r--backends/platform/iphone/osys_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp
index dd34e95c72..790e192f97 100644
--- a/backends/platform/iphone/osys_main.cpp
+++ b/backends/platform/iphone/osys_main.cpp
@@ -55,7 +55,7 @@ SoundProc OSystem_IPHONE::s_soundCallback = NULL;
void *OSystem_IPHONE::s_soundParam = NULL;
OSystem_IPHONE::OSystem_IPHONE() :
- _mixer(NULL), _gameScreenRaw(NULL),
+ _mixer(NULL),
_mouseBuf(NULL), _lastMouseTap(0), _queuedEventTime(0),
_mouseNeedTextureUpdate(false), _secondaryTapped(false), _lastSecondaryTap(0),
_screenOrientation(kScreenOrientationFlippedLandscape), _mouseClickAndDragEnabled(false),
@@ -72,7 +72,7 @@ OSystem_IPHONE::~OSystem_IPHONE() {
AudioQueueDispose(s_AudioQueue.queue, true);
delete _mixer;
- free(_gameScreenRaw);
+ _framebuffer.free();
}
int OSystem_IPHONE::timerHandler(int t) {