From 0696ea4bd601ed823dbded03eaef6f316df2a5e8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 21 Nov 2012 17:25:33 +0000 Subject: sna: Add the missing assertion for !proxy References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson --- src/sna/sna_composite.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3