diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-21 17:25:33 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-21 17:25:33 +0000 |
commit | 0696ea4bd601ed823dbded03eaef6f316df2a5e8 (patch) | |
tree | 861f55f3bf9dc37d840d45a46f3d95616d276737 | |
parent | ee72375ecd4f6d6e756bc361fa512b6675309540 (diff) |
sna: Add the missing assertion for !proxy
References: https://bugs.freedesktop.org/show_bug.cgi?id=47597
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_composite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c index 329e9d91..fd5acf92 100644 --- a/src/sna/sna_composite.c +++ b/src/sna/sna_composite.c @@ -845,6 +845,7 @@ sna_composite_rectangles(CARD8 op, box_inplace(pixmap, ®ion.extents)) { DBG(("%s: promoting to full GPU\n", __FUNCTION__)); if (priv->gpu_bo && priv->cpu_damage == NULL) { + assert(priv->gpu_bo->proxy == NULL); sna_damage_all(&priv->gpu_damage, pixmap->drawable.width, pixmap->drawable.height); |