st/mesa: silence a valgrind warning in u_threaded_context due to st_draw_vbo
authorMarek Olšák <marek.olsak@amd.com>
Tue, 16 May 2017 08:56:08 +0000 (10:56 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 18 May 2017 20:15:02 +0000 (22:15 +0200)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_draw.c

index 019001f..fe03a4a 100644 (file)
@@ -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. */