summaryrefslogtreecommitdiff
path: root/src/sna/gen4_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-08 16:39:21 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-08 16:44:47 +0000
commit78c756120db2e5e174925a92c0a0bba3ff70860c (patch)
tree9cf16b3d60032a1070f449680ce22aeff8599add /src/sna/gen4_render.c
parentdcd52d0c186e8b17569335338232298fbbea2b2d (diff)
sna/gen4: Initialise a pair of unimportant variables
Should never actually affect any results. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_render.c')
-rw-r--r--src/sna/gen4_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index f78c5da1..67f7b64e 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -2814,6 +2814,8 @@ gen4_render_fill_one(struct sna *sna, PixmapPtr dst, struct kgem_bo *bo,
sna_rgba_for_color(color,
dst->drawable.depth));
tmp.mask.bo = NULL;
+ tmp.mask.filter = SAMPLER_FILTER_NEAREST;
+ tmp.mask.repeat = SAMPLER_EXTEND_NONE;
tmp.is_affine = true;
tmp.floats_per_vertex = 2;