xserver/hw/xgl xglfill.c,1.6,1.7

David Reveman xserver-commit at pdx.freedesktop.org
Wed Apr 27 03:34:35 PDT 2005


Committed by: davidr

Update of /cvs/xserver/xserver/hw/xgl
In directory gabe:/tmp/cvs-serv4171/hw/xgl

Modified Files:
	xglfill.c 
Log Message:
Minor optimization

Index: xglfill.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/xgl/xglfill.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xglfill.c	27 Apr 2005 09:29:33 -0000	1.6
+++ xglfill.c	27 Apr 2005 10:34:33 -0000	1.7
@@ -376,7 +376,10 @@
 	while (nptTmp--)
 	{
 	    if (pptTmp->x != pt.x && pptTmp->y != pt.y)
+	    {
 		horizontalAndVertical = FALSE;
+		break;
+	    }
 
 	    pt = *pptTmp++;
 	}



More information about the xserver-commit mailing list