[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl_gl.cpp,1.31,1.32
Travis Howell
kirben at users.sourceforge.net
Tue Jun 17 09:07:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv28418/backends/sdl
Modified Files:
sdl_gl.cpp
Log Message:
Missed one
Index: sdl_gl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl_gl.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- sdl_gl.cpp 17 Jun 2003 16:03:12 -0000 1.31
+++ sdl_gl.cpp 17 Jun 2003 16:06:17 -0000 1.32
@@ -294,6 +294,8 @@
if (!_screen)
return;
+ StackLock lock(_mutex); // Lock the mutex until this function ends
+
// Keep around the old _screen & _tmpscreen so we can restore the screen data
// after the mode switch.
SDL_Surface *old_screen = _screen;
More information about the Scummvm-git-logs
mailing list