summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-29 08:38:21 -0700
committerBrian Paul <brianp@vmware.com>2010-01-29 08:38:21 -0700
commit5ce9183c1c535d924a79c2b6b280c6a2648cec19 (patch)
tree348159e4fc78879fa139a065d153010dfb4656be /src/mesa/state_tracker
parenta38859569dca1d8b139c4c451499bf6e328379e9 (diff)
vbo: fix missing state validation bugs
Commit 2708ddfb06a36d8568e2aa130bf1f7d551fcd309 caused a few regressions. We need to check/validate state after calling bind_arrays() because it might set the _NEW_ARRAYS flag if the varying VP inputs change. The symptom of this problem was some attribute arrays being ignored (or interpreted as constant-valued) in glDrawRangeElements or glMultiDrawElements. A follow-on patch will add some additional asserts to try to catch this kind of thing in the future. (cherry picked from commit 3cba779e16935f7c3a0bfd8af48bd5e015068e96)
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions