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:
parent
ee72375ecd
commit
0696ea4bd6
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue