From ae7f7e816231702068e6f03903cdeaa3a24d1ac3 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 16 May 2017 10:56:08 +0200 Subject: st/mesa: silence a valgrind warning in u_threaded_context due to st_draw_vbo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Samuel Pitoiset Reviewed-by: Nicolai Hähnle --- src/mesa/state_tracker/st_draw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/state_tracker') 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. */ -- cgit v1.2.3