summaryrefslogtreecommitdiff
path: root/src/sna/gen6_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-12 19:35:43 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-12 20:08:13 +0000
commit87147b63e905c3566ac1c12e0712f068e90d5e2e (patch)
tree7ffcbaed6feb0c1e623afea8ee7d2dd27bdbde8a /src/sna/gen6_render.c
parente8799cdea461df5102d421fda26fecceae79b929 (diff)
sna/damage: Reduce the damage for evaluating sna_damage_is_all
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r--src/sna/gen6_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c
index 9e184452..12fcd312 100644
--- a/src/sna/gen6_render.c
+++ b/src/sna/gen6_render.c
@@ -2046,8 +2046,8 @@ gen6_composite_set_target(struct sna_composite_op *op, PicturePtr dst)
return FALSE;
op->dst.bo = priv->gpu_bo;
- if (!priv->gpu_only &&
- !sna_damage_is_all(&priv->gpu_damage, op->dst.width, op->dst.height))
+ if (!sna_damage_is_all(&priv->gpu_damage,
+ op->dst.width, op->dst.height))
op->damage = &priv->gpu_damage;
}