aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/enable.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-04-23 14:49:28 +0200
committermarha <marha@users.sourceforge.net>2012-04-23 14:49:28 +0200
commitb68922d51f52ca6ab9daa0105ef5c57f35bfbdcf (patch)
tree4e1760d8c7a1499cad49248b640dcc7ec21d4647 /mesalib/src/mesa/main/enable.c
parent0e3699334faf92f508b6c187a261548b656b0dd3 (diff)
downloadvcxsrv-b68922d51f52ca6ab9daa0105ef5c57f35bfbdcf.tar.gz
vcxsrv-b68922d51f52ca6ab9daa0105ef5c57f35bfbdcf.tar.bz2
vcxsrv-b68922d51f52ca6ab9daa0105ef5c57f35bfbdcf.zip
fontconfig libXau libXext libxcb pixman mesa git update 23 April 2012
Diffstat (limited to 'mesalib/src/mesa/main/enable.c')
-rw-r--r--mesalib/src/mesa/main/enable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/enable.c b/mesalib/src/mesa/main/enable.c
index f6d37feae..d0b462580 100644
--- a/mesalib/src/mesa/main/enable.c
+++ b/mesalib/src/mesa/main/enable.c
@@ -142,7 +142,6 @@ client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
return;
FLUSH_VERTICES(ctx, _NEW_ARRAY);
- ctx->Array.NewState |= flag;
_ae_invalidate_state(ctx, _NEW_ARRAY);
@@ -153,6 +152,8 @@ client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
else
arrayObj->_Enabled &= ~flag;
+ arrayObj->NewArrays |= flag;
+
if (ctx->Driver.Enable) {
ctx->Driver.Enable( ctx, cap, state );
}