summaryrefslogtreecommitdiff
path: root/src/sna/gen2_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-03-13 08:51:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-03-13 08:54:56 +0000
commit5d8ded0dd671fbcbd212e06afbea88a7a56a8f0d (patch)
treeaace4066c3d79afe8939676ee368199d3e6e029d /src/sna/gen2_render.c
parent923b158e5c5dd50f943fe315a058410aeaa76269 (diff)
sna: Nullify extra fill.ops
I forgot that the initial memset(&fill, 0, sizeof(fill)) was no longer performed and we rely on explicit initialisation during the setup, so add the missing fields. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76088 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
-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 99e39128..2ebfde67 100644
--- a/src/sna/gen2_render.c
+++ b/src/sna/gen2_render.c
@@ -2985,6 +2985,7 @@ gen2_render_fill(struct sna *sna, uint8_t alu,
tmp->blt = gen2_render_fill_op_blt;
tmp->box = gen2_render_fill_op_box;
tmp->boxes = gen2_render_fill_op_boxes;
+ tmp->points = NULL;
tmp->done = gen2_render_fill_op_done;
gen2_emit_fill_state(sna, &tmp->base);