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 <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
This commit is contained in:
Mathias Fröhlich 2018-03-16 06:34:35 +01:00 committed by Mathias Fröhlich
parent 2887c98140
commit 006b5e798a
1 changed files with 0 additions and 3 deletions

View File

@ -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) {