[Scummvm-cvs-logs] SF.net SVN: scummvm:[44183] scummvm/trunk/backends/platform/sdl/graphics. cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Sep 18 14:38:53 CEST 2009


Revision: 44183
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44183&view=rev
Author:   lordhoto
Date:     2009-09-18 12:38:53 +0000 (Fri, 18 Sep 2009)

Log Message:
-----------
Update game screen after changing the active scaler via hotkeys. This fixes black screens in occasions, where the engine does not call updateScreen itself after a scaler change.

Modified Paths:
--------------
    scummvm/trunk/backends/platform/sdl/graphics.cpp

Modified: scummvm/trunk/backends/platform/sdl/graphics.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/graphics.cpp	2009-09-18 12:38:11 UTC (rev 44182)
+++ scummvm/trunk/backends/platform/sdl/graphics.cpp	2009-09-18 12:38:53 UTC (rev 44183)
@@ -1927,7 +1927,7 @@
 				);
 		displayMessageOnOSD(buffer);
 #endif
-
+		internUpdateScreen();
 		return;
 	}
 
@@ -1983,7 +1983,7 @@
 			}
 		}
 #endif
-
+		internUpdateScreen();
 	}
 
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list