diff options
author | Oystein Eftevaag | 2009-04-18 14:04:44 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2009-04-18 14:04:44 +0000 |
commit | 213c3eb143f1d5bccb8864bc369728893a6c1a92 (patch) | |
tree | fbf8c30c7710a1ca7451c2ce17f650cab211bdd3 /backends | |
parent | 741548cda66133e595852eb8776738684214f221 (diff) | |
download | scummvm-rg350-213c3eb143f1d5bccb8864bc369728893a6c1a92.tar.gz scummvm-rg350-213c3eb143f1d5bccb8864bc369728893a6c1a92.tar.bz2 scummvm-rg350-213c3eb143f1d5bccb8864bc369728893a6c1a92.zip |
Fixed a crash happening when an engine dirtied the full screen, and called initSize() before calling updateScreen (fixes bug 418820, specifically about Lost in Time crashing after the title screen)
svn-id: r39985
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/iphone/osys_iphone.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp index 3f99720b9c..632d0167dd 100644 --- a/backends/platform/iphone/osys_iphone.cpp +++ b/backends/platform/iphone/osys_iphone.cpp @@ -162,6 +162,7 @@ void OSystem_IPHONE::initSize(uint width, uint height) { else iPhone_initSurface(width, height, false); + _fullScreenIsDirty = false; dirtyFullScreen(); _mouseVisible = false; _screenChangeCount++; |