summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-11-09 11:15:39 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-11-10 10:35:27 +0000
commitb3b02a879bd6f29447e20fb5bb51c0a4a48a7928 (patch)
tree9674bc2e62fddabca718dde49f1a71ade1948398
parent3ec663bf1c83ea1e470e94b9fb703346fc5bd39e (diff)
sna: Assert that we do setup the gc->pCompositeClip upon ValidateGC
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index bf5f16aa..b1dc2f70 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;
}