summaryrefslogtreecommitdiff
path: root/src/sna/gen8_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/gen8_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/gen8_render.c')
-rw-r--r--src/sna/gen8_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index 855551da..ddf376b7 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -3325,6 +3325,7 @@ gen8_render_fill(struct sna *sna, uint8_t alu,
op->blt = gen8_render_fill_op_blt;
op->box = gen8_render_fill_op_box;
op->boxes = gen8_render_fill_op_boxes;
+ op->points = NULL;
op->done = gen8_render_fill_op_done;
return true;
}