summaryrefslogtreecommitdiff
path: root/progs/tests/fbotest1.c
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 /progs/tests/fbotest1.c
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 'progs/tests/fbotest1.c')
0 files changed, 0 insertions, 0 deletions