projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallivm: Add a lp_build_const_func_pointer() helper.
[mesa.git]
/
src
/
mesa
/
vbo
/
vbo_exec.c
diff --git
a/src/mesa/vbo/vbo_exec.c
b/src/mesa/vbo/vbo_exec.c
index 05c3ec1ae9dd9632981061a97f24de6c1637bdc5..fd5e0f8911b40b86644bd69286d5c410018fd724 100644
(file)
--- a/
src/mesa/vbo/vbo_exec.c
+++ b/
src/mesa/vbo/vbo_exec.c
@@
-85,6
+85,10
@@
void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state )
{
struct vbo_exec_context *exec = &vbo_context(ctx)->exec;
+ if (new_state & (_NEW_PROGRAM|_NEW_ARRAY)) {
+ exec->array.recalculate_inputs = GL_TRUE;
+ }
+
if (new_state & (_NEW_PROGRAM|_NEW_EVAL))
exec->eval.recalculate_maps = 1;