diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index a9948552..4a6b8baa 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -15711,7 +15711,7 @@ sna_validate_gc(GCPtr gc, unsigned long changes, DrawablePtr drawable) DBG(("%s(%p) changes=%lx, previous serial=%lx, drawable=%lx\n", __FUNCTION__, gc, changes, gc->serialNumber, drawable->serialNumber)); - assert(gc->pCompositeClip != sna_gc(gc)->priv); + assert(gc->pCompositeClip == NULL || gc->pCompositeClip != sna_gc(gc)->priv); if (changes & (GCClipMask|GCSubwindowMode) || drawable->serialNumber != (gc->serialNumber & DRAWABLE_SERIAL_BITS) || |