summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2013-05-11 19:23:46 +0200
committerFredrik Höglund <[email protected]>2013-11-07 16:20:44 +0100
commit6a650fa787d8762762712049879897d7e257001e (patch)
tree20e3da5933c6dc16151cdb66ca8ea0ff09cff461 /src/mesa/main/state.c
parentc6a3fb69c6a0d993f111518f12b34dde3925c190 (diff)
mesa: Restore gl_array_object::NewArray
This will be used by the ARB_vertex_attrib_binding implementation. This reverts commit db38e9a0e179441f59274f6f2a751912c29872e2. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 23926410b34..bf216312b83 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -430,6 +430,7 @@ _mesa_update_state_locked( struct gl_context *ctx )
new_state = ctx->NewState | new_prog_state;
ctx->NewState = 0;
ctx->Driver.UpdateState(ctx, new_state);
+ ctx->Array.ArrayObj->NewArrays = 0x0;
}