summaryrefslogtreecommitdiffstats
path: root/src
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
commit862c872c48fb96ab3f2119bd3a161d241f4fb766 (patch)
tree1a30e6af5065db1e0e06e4c9cb18b4dad6c7ce54 /src
parent006b5e798a4a82590abf1e621b8b43aea5b19994 (diff)
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 <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/vbo/vbo_exec_draw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c
index 3490dbe44da..026b7be129e 100644
--- a/src/mesa/vbo/vbo_exec_draw.c
+++ b/src/mesa/vbo/vbo_exec_draw.c
@@ -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);
}