[cairo-commit] cairo/src cairo_gstate.c,1.66,1.67

David Reveman commit at pdx.freedesktop.org
Wed Dec 1 16:27:20 PST 2004


Committed by: davidr

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv27246/src

Modified Files:
	cairo_gstate.c 
Log Message:
Revert clipping changes

Index: cairo_gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_gstate.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- cairo_gstate.c	14 Nov 2004 18:07:54 -0000	1.66
+++ cairo_gstate.c	2 Dec 2004 00:27:18 -0000	1.67
@@ -1760,8 +1760,12 @@
 	
 	if (status != CAIRO_INT_STATUS_UNSUPPORTED) {
 	    _cairo_traps_fini (&traps);
+	    return status;
 	}
-	return status;
+
+	/* Fall through as status == CAIRO_INT_STATUS_UNSUPPORTED
+	   means that backend doesn't support clipping regions and
+	   mask surface clipping should be used instead. */
     }
 
     /* Otherwise represent the clip as a mask surface. */




More information about the cairo-commit mailing list