summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/vbo/vbo_context.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c
index 28f494839e3..6b4f74d72f2 100644
--- a/src/mesa/vbo/vbo_context.c
+++ b/src/mesa/vbo/vbo_context.c
@@ -206,16 +206,8 @@ vbo_exec_invalidate_state(struct gl_context *ctx)
struct vbo_exec_context *exec = &vbo->exec;
if (ctx->NewState & (_NEW_PROGRAM | _NEW_ARRAY)) {
- exec->array.recalculate_inputs = GL_TRUE;
-
_ae_invalidate_state(ctx);
}
- /* If _mesa_update_state is called in a non draw code path,
- * changes in the VAO need to be captured.
- */
- if (ctx->Array.VAO->NewArrays)
- exec->array.recalculate_inputs = GL_TRUE;
-
if (ctx->NewState & _NEW_EVAL)
exec->eval.recalculate_maps = GL_TRUE;
}