[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.69,1.70
Travis Howell
kirben at users.sourceforge.net
Sun Jul 20 08:32:37 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv15367/backends/sdl
Modified Files:
sdl-common.cpp
Log Message:
Use automatic dirty rect code for simon games for now to reduce CPU usage
Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- sdl-common.cpp 20 Jul 2003 01:39:08 -0000 1.69
+++ sdl-common.cpp 20 Jul 2003 15:31:47 -0000 1.70
@@ -895,6 +895,10 @@
uint32 OSystem_SDL_Common::property(int param, Property *value) {
switch(param) {
+ case PROP_WANT_RECT_OPTIM:
+ _mode_flags |= DF_WANT_RECT_OPTIM;
+ break;
+
case PROP_GET_FULLSCREEN:
return _full_screen;
More information about the Scummvm-git-logs
mailing list