1.17 always stores the client clip as a region, so there's no longer a clientClipType member to look at. Change the code to just inspect whether the clientClip is non-null, since that works both before and after 1.17.
Signed-off-by: Adam Jackson <[email protected]> --- saa/saa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saa/saa.c b/saa/saa.c index f2d68e9..be9520e 100644 --- a/saa/saa.c +++ b/saa/saa.c @@ -349,7 +349,7 @@ saa_gc_reads_destination(DrawablePtr pDrawable, GCPtr pGC) { return ((pGC->alu != GXcopy && pGC->alu != GXclear && pGC->alu != GXset && pGC->alu != GXcopyInverted) || pGC->fillStyle == FillStippled || - pGC->clientClipType != CT_NONE || + pGC->clientClip != NULL || !SAA_PM_IS_SOLID(pDrawable, pGC->planemask)); } -- 2.1.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
