From ae7f7e816231702068e6f03903cdeaa3a24d1ac3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 16 May 2017 10:56:08 +0200 Subject: [PATCH] st/mesa: silence a valgrind warning in u_threaded_context due to st_draw_vbo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(+) 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. */ -- 2.30.2