From 213c3eb143f1d5bccb8864bc369728893a6c1a92 Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Sat, 18 Apr 2009 14:04:44 +0000 Subject: 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 --- backends/platform/iphone/osys_iphone.cpp | 1 + 1 file changed, 1 insertion(+) 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++; -- cgit v1.2.3