[cairo-commit] libpixman/src icimage.c,1.19,1.20
Carl Worth
commit at pdx.freedesktop.org
Thu May 6 05:50:26 PDT 2004
Committed by: cworth
Update of /cvs/cairo/libpixman/src
In directory pdx:/tmp/cvs-serv21227/src
Modified Files:
icimage.c
Log Message:
* src/icimage.c (pixman_image_set_clip_region): Leave
clientClipType as CT_NONE if region is NULL (thanks to Vladimir
Vukicevic <vladimir at pobox.com>).
Index: icimage.c
===================================================================
RCS file: /cvs/cairo/libpixman/src/icimage.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** a/icimage.c 16 Apr 2004 15:32:53 -0000 1.19
--- b/icimage.c 6 May 2004 12:50:23 -0000 1.20
***************
*** 264,269 ****
{
pixman_image_destroyClip (image);
! image->clientClip = region;
! image->clientClipType = CT_REGION;
image->stateChanges |= CPClipMask;
return 0;
--- 264,271 ----
{
pixman_image_destroyClip (image);
! if (region) {
! image->clientClip = region;
! image->clientClipType = CT_REGION;
! }
image->stateChanges |= CPClipMask;
return 0;
More information about the cairo-commit
mailing list