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:
Chris Wilson 2013-07-18 13:37:12 +01:00
parent 4723a730f4
commit fb058de4e6
1 changed files with 1 additions and 1 deletions

View File

@ -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