[Scummvm-cvs-logs] CVS: scummvm/backends/sdl graphics.cpp,1.42,1.43

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Wed Apr 27 07:51:27 CEST 2005


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19448

Modified Files:
	graphics.cpp 
Log Message:
Call blitCursor() when changing scaler to give it the opportunity to switch
between blurry and non-blurry cursor scaling, even if the scale factor
remains unchanged.


Index: graphics.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/graphics.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- graphics.cpp	20 Apr 2005 09:32:22 -0000	1.42
+++ graphics.cpp	27 Apr 2005 14:47:19 -0000	1.43
@@ -239,6 +239,10 @@
 	// Blit everything to the screen
 	_forceFull = true;
 
+	// Even if the old and new scale factors are the same, we may have a
+	// different scaler for the cursor now.
+	blitCursor();
+
 	if (_transactionMode != kTransactionCommit)
 		internUpdateScreen();
 	





More information about the Scummvm-git-logs mailing list