[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.124,2.125

Max Horn fingolfin at users.sourceforge.net
Thu May 29 18:38:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv12672a

Modified Files:
	gfx.cpp 
Log Message:
removed more harmful clipping

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.124
retrieving revision 2.125
diff -u -d -r2.124 -r2.125
--- gfx.cpp	30 May 2003 00:48:35 -0000	2.124
+++ gfx.cpp	30 May 2003 01:37:50 -0000	2.125
@@ -285,13 +285,11 @@
 	VirtScreen *vs = &virtscr[virt];
 	int lp, rp;
 
-	if (top > vs->height || left > vs->width || right < 0 || bottom < 0)
+	if (top > vs->height || right < 0 || bottom < 0)
 		return;
 
 	if (top < 0)
 		top = 0;
-	if (left < 0)
-		left = 0;
 	if (bottom > vs->height)
 		bottom = vs->height;
 





More information about the Scummvm-git-logs mailing list