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>
This commit is contained in:
Chris Wilson 2012-11-21 17:25:33 +00:00
parent ee72375ecd
commit 0696ea4bd6
1 changed files with 1 additions and 0 deletions

View File

@ -845,6 +845,7 @@ sna_composite_rectangles(CARD8 op,
box_inplace(pixmap, &region.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);