aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/state.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-06-16 15:47:48 +0000
committermarha <marha@users.sourceforge.net>2010-06-16 15:47:48 +0000
commit023dc0d653e071fa9d7acb66d81a12791f5e2ebe (patch)
treeedb06dca76d34650b7bd5039dcb5c70bf22d329c /mesalib/src/mesa/main/state.c
parent4d5476d24bec19c71aced4ac2b320d1110fb5363 (diff)
parent243edb24f5179d93c849ea326fb489d3f846db71 (diff)
downloadvcxsrv-023dc0d653e071fa9d7acb66d81a12791f5e2ebe.tar.gz
vcxsrv-023dc0d653e071fa9d7acb66d81a12791f5e2ebe.tar.bz2
vcxsrv-023dc0d653e071fa9d7acb66d81a12791f5e2ebe.zip
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/main/state.c')
-rw-r--r--mesalib/src/mesa/main/state.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesalib/src/mesa/main/state.c b/mesalib/src/mesa/main/state.c
index 589029db5..b971cc976 100644
--- a/mesalib/src/mesa/main/state.c
+++ b/mesalib/src/mesa/main/state.c
@@ -582,9 +582,6 @@ _mesa_update_state_locked( GLcontext *ctx )
if (new_state & _DD_NEW_SEPARATE_SPECULAR)
update_separate_specular( ctx );
- if (new_state & (_NEW_ARRAY | _NEW_PROGRAM | _NEW_BUFFER_OBJECT))
- update_arrays( ctx );
-
if (new_state & (_NEW_BUFFERS | _NEW_VIEWPORT))
update_viewport_matrix(ctx);
@@ -620,6 +617,8 @@ _mesa_update_state_locked( GLcontext *ctx )
new_prog_state |= update_program( ctx );
}
+ if (new_state & (_NEW_ARRAY | _NEW_PROGRAM | _NEW_BUFFER_OBJECT))
+ update_arrays( ctx );
out:
new_prog_state |= update_program_constants(ctx);