From: Chris Wilson Date: Sat, 9 Nov 2013 11:15:39 +0000 (+0000) Subject: sna: Assert that we do setup the gc->pCompositeClip upon ValidateGC X-Git-Tag: 2.99.906~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3b02a879bd6f29447e20fb5bb51c0a4a48a7928;p=platform%2Fupstream%2Fxf86-video-intel.git sna: Assert that we do setup the gc->pCompositeClip upon ValidateGC Signed-off-by: Chris Wilson --- diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index bf5f16a..b1dc2f7 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -15639,6 +15639,8 @@ sna_validate_gc(GCPtr gc, unsigned long changes, DrawablePtr drawable) gc->pCompositeClip->extents.y2)); } + assert(gc->pCompositeClip); + sna_gc(gc)->changes |= changes; }