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
This commit is contained in:
Oystein Eftevaag 2009-04-18 14:04:44 +00:00
parent 741548cda6
commit 213c3eb143

View File

@ -162,6 +162,7 @@ void OSystem_IPHONE::initSize(uint width, uint height) {
else
iPhone_initSurface(width, height, false);
_fullScreenIsDirty = false;
dirtyFullScreen();
_mouseVisible = false;
_screenChangeCount++;