sna: Treat a source with a CPU bo as being attached.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
4723a730f4
commit
fb058de4e6
|
|
@ -105,7 +105,7 @@ static inline bool
|
|||
unattached(DrawablePtr drawable)
|
||||
{
|
||||
struct sna_pixmap *priv = sna_pixmap_from_drawable(drawable);
|
||||
return priv == NULL || (priv->gpu_damage == NULL && priv->cpu_damage);
|
||||
return priv == NULL || (priv->gpu_damage == NULL && priv->cpu_damage && !priv->cpu_bo);
|
||||
}
|
||||
|
||||
static inline bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue