summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-13 23:05:30 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-13 23:05:30 +0000
commit044a54c23384756a5dc1895473abf34f7abb3d83 (patch)
tree1ed48a9e7262c7668430040d76730f3cbb8dafc8
parent29afd0dc8e893cc4110ee0d70546775dae86ddb3 (diff)
sna/gen2: Initialise channel->is_affine for solid
In case we hit a path were we avoid reusing the source for the mask and leave is_affine unset for a solid mask. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen2_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c
index afc71af8..a059967f 100644
--- a/src/sna/gen2_render.c
+++ b/src/sna/gen2_render.c
@@ -1161,6 +1161,7 @@ gen2_composite_solid_init(struct sna *sna,
channel->filter = PictFilterNearest;
channel->repeat = RepeatNormal;
channel->is_solid = true;
+ channel->is_affine = true;
channel->width = 1;
channel->height = 1;
channel->pict_format = PICT_a8r8g8b8;