projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Move glBindBufferBase and glBindBufferRange() to bufferobj.
[mesa.git]
/
src
/
mesa
/
main
/
enable.c
diff --git
a/src/mesa/main/enable.c
b/src/mesa/main/enable.c
index f6d37feae9e43d6439a174fe6dff489bc2c2980f..d0b4625806fa5a0dba78da3552067fca72961f2e 100644
(file)
--- a/
src/mesa/main/enable.c
+++ b/
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 );
}