[Scummvm-cvs-logs] CVS: residual smush.cpp,1.33,1.34
Daniel Schepler
dschepler at users.sourceforge.net
Mon Mar 22 01:02:03 CET 2004
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21098
Modified Files:
smush.cpp
Log Message:
Set _updateNeeded to true on Unix as well as OSX. Fixes crash.
Index: smush.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/smush.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- smush.cpp 21 Mar 2004 15:16:57 -0000 1.33
+++ smush.cpp 22 Mar 2004 08:51:30 -0000 1.34
@@ -65,10 +65,10 @@
_videoPause = false;
//HACK: If we don't set it here, it'll never get set at all..
// This is BAD - but until we find the source of the problem, this'll have to do.
-#ifndef OSX
- _updateNeeded = false;
-#else
+#if defined(OSX) || defined(UNIX)
_updateNeeded = true;
+#else
+ _updateNeeded = false;
#endif
if (!_surface)
_surface = SDL_CreateRGBSurface(SDL_SWSURFACE, _width, _height, 16, 0x0000f800, 0x000007e0, 0x0000001f, 0x00000000);
More information about the Scummvm-git-logs
mailing list