[Scummvm-cvs-logs] CVS: scummvm/sword2/driver render.cpp,1.50,1.51
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Tue Jan 13 02:28:03 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.2,1.3 animation.h,1.4,1.5 d_draw.cpp,1.58,1.59 d_draw.h,1.23,1.24
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.3,1.4 animation.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv30573
Modified Files:
render.cpp
Log Message:
As an experiment, I've added a delay of 0 milliseconds when drawing
interpolation frames. It shouldn't delay anything, but I'm hoping it will
allow the other threads some breathing room, which might help bug #875683.
Or not. We'll see.
Index: render.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/render.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- render.cpp 12 Jan 2004 19:08:04 -0000 1.50
+++ render.cpp 13 Jan 2004 10:27:13 -0000 1.51
@@ -660,6 +660,11 @@
if (_scrollX != _scrollXOld || _scrollY != _scrollYOld)
setNeedFullRedraw();
+ // This shouldn't delay anything, but might possibly allow the
+ // backend to give the other threads some breathing space, which could
+ // conceivably help against bug #875683.
+ _vm->_system->delay_msecs(0);
+
return false;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.2,1.3 animation.h,1.4,1.5 d_draw.cpp,1.58,1.59 d_draw.h,1.23,1.24
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.3,1.4 animation.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list