[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.19,1.20
James Brown
ender at users.sourceforge.net
Mon Jan 13 11:00:12 CET 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv10143/backends/sdl
Modified Files:
sdl.cpp
Log Message:
Early init of the scaler - to prevent ComI trying to use a huge window by default.
This may require porters to make a small backend change, not to reinit a scaler on hotswap if the display has not been init_size'ed.
Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- sdl.cpp 12 Jan 2003 14:18:04 -0000 1.19
+++ sdl.cpp 13 Jan 2003 18:59:53 -0000 1.20
@@ -191,6 +191,8 @@
}
void OSystem_SDL::hotswap_gfx_mode() {
+ if (!_screen)
+ return;
// Keep around the old _screen & _tmpscreen so we can restore the screen data
// after the mode switch.
More information about the Scummvm-git-logs
mailing list