[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.62,1.63

Max Horn fingolfin at users.sourceforge.net
Sat Feb 28 05:18:02 CET 2004


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

Modified Files:
	sdl.cpp 
Log Message:
fix mouse redraw issue when toggling fullscreen mode (visible if one mode is 555 and the other 565)

Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- sdl.cpp	28 Feb 2004 12:57:52 -0000	1.62
+++ sdl.cpp	28 Feb 2004 13:00:19 -0000	1.63
@@ -369,6 +369,10 @@
 	if (_full_screen != enable) {
 		assert(_hwscreen != 0);
 		_full_screen ^= true;
+
+		if (_mouseDrawn)
+			undraw_mouse();
+	
 #if defined(MACOSX) && !SDL_VERSION_ATLEAST(1, 2, 6)
 		// On OS X, SDL_WM_ToggleFullScreen is currently not implemented. Worse,
 		// before SDL 1.2.6 it always returned -1 (which would indicate a





More information about the Scummvm-git-logs mailing list