diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-21 10:35:30 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-21 10:35:30 +0000 |
commit | 720d131963b5c4d8f9e63c8852dbc133544ad312 (patch) | |
tree | f795b3d4a3009efe980ddcf942e08517ae0bd02e /src/sna/sna_accel.c | |
parent | 36b743aa8e246c7361436d93a41a1f844c168a7a (diff) |
sna: Drop bogus assert added in recent patches
The intention was to detect if the gc->pCompositeClip still pointed to
the temporary region. However, the assert failed to accomplish that
goal.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 4a6b8baa..4a2b6141 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -15711,8 +15711,6 @@ 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 == NULL || gc->pCompositeClip != sna_gc(gc)->priv); - if (changes & (GCClipMask|GCSubwindowMode) || drawable->serialNumber != (gc->serialNumber & DRAWABLE_SERIAL_BITS) || (gc->clientClipType != CT_NONE && (changes & (GCClipXOrigin | GCClipYOrigin)))) { |