vbo: Remove now duplicate _DrawVAO notification.

The DriverFlags.NewArray bit is already set to NewDriverState in
_mesa_set_draw_vao since we have actually just above changed the VAOs
content. So this can be removed.
The _vbo_update_inputs is called by the vbo...recalculate_inputs being
set through the same mechanism as described above.

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 006b5e798a
commit 862c872c48
1 changed files with 0 additions and 5 deletions

View File

@ -232,11 +232,6 @@ vbo_exec_bind_arrays(struct gl_context *ctx)
(vao_enabled & ~vao->VertexAttribBufferMask) == 0);
_mesa_set_draw_vao(ctx, vao, _vbo_get_vao_filter(mode));
/* The exec VAO is not immutable, so we need to set manually */
ctx->NewDriverState |= ctx->DriverFlags.NewArray;
/* Finally update the inputs array */
_vbo_update_inputs(ctx, &vbo->draw_arrays);
}