diff options
author | Johannes Schickel | 2013-08-06 03:35:07 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-06 03:51:11 +0200 |
commit | 09f7e4d5d4d45a4db7c85520be66cf81fe975607 (patch) | |
tree | d45a8df28fbcabedcfa879082cbe81f357adde58 /backends/platform/iphone/osys_main.cpp | |
parent | 6d86a66493a7f9b74eeb14a5ff4bd750805d00ee (diff) | |
download | scummvm-rg350-09f7e4d5d4d45a4db7c85520be66cf81fe975607.tar.gz scummvm-rg350-09f7e4d5d4d45a4db7c85520be66cf81fe975607.tar.bz2 scummvm-rg350-09f7e4d5d4d45a4db7c85520be66cf81fe975607.zip |
IPHONE: Do not access Surface::pixels directly.
Diffstat (limited to 'backends/platform/iphone/osys_main.cpp')
-rw-r--r-- | backends/platform/iphone/osys_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp index 460d3fd2ac..ea566c3da0 100644 --- a/backends/platform/iphone/osys_main.cpp +++ b/backends/platform/iphone/osys_main.cpp @@ -78,7 +78,7 @@ OSystem_IPHONE::~OSystem_IPHONE() { // Prevent accidental freeing of the screen texture here. This needs to be // checked since we might use the screen texture as framebuffer in the case // of hi-color games for example. - if (_framebuffer.pixels == _videoContext->screenTexture.pixels) + if (_framebuffer.getPixels() == _videoContext->screenTexture.getPixels()) _framebuffer.free(); _mouseBuffer.free(); } |