From 006b5e798a4a82590abf1e621b8b43aea5b19994 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathias=20Fr=C3=B6hlich?= Date: Fri, 16 Mar 2018 06:34:35 +0100 Subject: [PATCH] vbo: Remove now duplicate _vbo_update_inputs from dlist draw. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit At the current state, _vbo_update_inputs is called from the draw callback if vbo...recalculate_inputs is set. But that is now set of the _DrawVAO or its content or the vertex program mode is changed. So remove _vbo_update_inputs from the direct dlist draw path. Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/vbo/vbo_save_draw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index ed3b50434f1..096e43c8169 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -206,9 +206,6 @@ vbo_save_playback_vertex_list(struct gl_context *ctx, void *data) return; } - /* Finally update the inputs array */ - _vbo_update_inputs(ctx, &vbo->draw_arrays); - assert(ctx->NewState == 0); if (node->vertex_count > 0) { -- 2.30.2