From: Marek Olšák Date: Tue, 16 May 2017 08:56:08 +0000 (+0200) Subject: st/mesa: silence a valgrind warning in u_threaded_context due to st_draw_vbo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae7f7e816231702068e6f03903cdeaa3a24d1ac3;p=mesa.git st/mesa: silence a valgrind warning in u_threaded_context due to st_draw_vbo Reviewed-by: Samuel Pitoiset Reviewed-by: Nicolai Hähnle --- 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. */