summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-16 10:56:08 +0200
committerMarek Olšák <[email protected]>2017-05-18 22:15:02 +0200
commitae7f7e816231702068e6f03903cdeaa3a24d1ac3 (patch)
treebd7a726b898989aba15079b1372cd7b6552bb56f /src/mesa/state_tracker
parent767868ff6d2842e1ac93ba086c1c30a8c8a68e24 (diff)
st/mesa: silence a valgrind warning in u_threaded_context due to st_draw_vbo
Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c
index 019001fd6f2..fe03a4a587e 100644
--- a/src/mesa/state_tracker/st_draw.c
+++ b/src/mesa/state_tracker/st_draw.c
@@ -184,6 +184,7 @@ st_draw_vbo(struct gl_context *ctx,
}
else {
info.index_size = 0;
+ info.has_user_indices = false;
/* Transform feedback drawing is always non-indexed. */
/* Set info.count_from_stream_output. */