summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-03-16 06:34:35 +0100
committerMathias Fröhlich <[email protected]>2018-03-22 04:58:53 +0100
commit006b5e798a4a82590abf1e621b8b43aea5b19994 (patch)
treec1ab5c24ca00bf404303fbcd6389d26fbf3d319d /src/mesa
parent2887c981405a911a26a4a6c7f989b803cc94dd54 (diff)
vbo: Remove now duplicate _vbo_update_inputs from dlist draw.
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 <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c3
1 files changed, 0 insertions, 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) {