Add some FLUSH_CURRENT() calls.
authorBrian <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2007 22:18:45 +0000 (16:18 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2007 22:18:45 +0000 (16:18 -0600)
commit49adf51eeec31c9f3c995a70acc5008522689708
tree9a722e6d128a8344d3334602d8eb79ffed74b8b5
parent420c062cb68e4e313ef34bd879852a003101169e
Add some FLUSH_CURRENT() calls.

Without these we can find ourselves in _mesa_load_state_parameters()
computing derived lighting/material values whhen the current material
properties haven't been updated from the VBO.
This may be a somewhat wide-spread problem that needs more attention...
src/mesa/main/buffers.c
src/mesa/main/drawpix.c