[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.5,1.6
Max Horn
fingolfin at users.sourceforge.net
Sun Sep 22 09:13:05 CEST 2002
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory usw-pr-cvs1:/tmp/cvs-serv9618/backends/sdl
Modified Files:
sdl.cpp
Log Message:
fixed cursor trail
Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sdl.cpp 19 Sep 2002 17:03:23 -0000 1.5
+++ sdl.cpp 22 Sep 2002 16:12:37 -0000 1.6
@@ -159,7 +159,7 @@
SDL_UnlockSurface(sdl_tmpscreen);
// Mark as dirty
- add_dirty_rect(x, y, w, h);
+ add_dirty_rect(x-1, y-1, w, h);
// Finally, set the flag to indicate the mouse has been drawn
_mouse_drawn = true;
@@ -194,7 +194,7 @@
}
}
- add_dirty_rect(old_mouse_x, old_mouse_y, old_mouse_w, old_mouse_h);
+ add_dirty_rect(old_mouse_x-1, old_mouse_y-1, old_mouse_w, old_mouse_h);
SDL_UnlockSurface(sdl_tmpscreen);
}
More information about the Scummvm-git-logs
mailing list