summaryrefslogtreecommitdiff
path: root/src/sna/gen3_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-15 16:31:08 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-15 16:34:06 +0100
commitb0472af1f3c6832838b0cfea38e261c908afd04e (patch)
tree296946f22af23bbb3a4b901f734269bb2c1dfc0b /src/sna/gen3_render.c
parent49e72bd4e59085aa940e5af63381c5394ee670ad (diff)
sna: Mark partial composite operations upfront
Rather than guess in the backend when we are going to be called for multiple boxes, rely on the frontend declaring it correctly. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen3_render.c')
-rw-r--r--src/sna/gen3_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 1bfc509c..6ba1bb49 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -3515,7 +3515,7 @@ gen3_render_composite(struct sna *sna,
if (!gen3_composite_set_target(sna, tmp, dst,
dst_x, dst_y, width, height,
- flags & COMPOSITE_PARTIAL || op > PictOpSrc || dst->pCompositeClip->data)) {
+ flags & COMPOSITE_PARTIAL || op > PictOpSrc)) {
DBG(("%s: unable to set render target\n",
__FUNCTION__));
goto fallback;