[Scummvm-cvs-logs] CVS: residual engine.cpp,1.93,1.94

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Aug 20 11:55:07 CEST 2005


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28515

Modified Files:
	engine.cpp 
Log Message:
added refresh window on invalide window state while user paint mode

Index: engine.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/engine.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- engine.cpp	15 Aug 2005 15:30:54 -0000	1.93
+++ engine.cpp	20 Aug 2005 18:54:17 -0000	1.94
@@ -363,6 +363,8 @@
 			// Check for "Hard" quit"
 			if (event.type == SDL_QUIT)
 				return;
+			if (event.type == SDL_VIDEOEXPOSE)
+				_refreshDrawNeeded = true;
 			if (event.type == SDL_KEYDOWN) {
 				if (event.key.keysym.sym == SDLK_z
 						&& (event.key.keysym.mod & KMOD_CTRL)) {





More information about the Scummvm-git-logs mailing list