Assert that there's no outstanding current state that needs to be flushed from the...
authorBrian <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2007 21:59:59 +0000 (15:59 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2007 21:59:59 +0000 (15:59 -0600)
commit420c062cb68e4e313ef34bd879852a003101169e
treeeaede320065e5bdefaff8274266db74c54c3d502
parent5cb0d749b07be4ecbf4d4d7cde18aecdfe2dba38
Assert that there's no outstanding current state that needs to be flushed from the vbo in _mesa_load_state_parameters().

Several of the state parameters use current state (such as materials).
Need to make sure those values are not stale.
src/mesa/shader/prog_statevars.c