mesa: Flush vertices before updating drawbuffer computed state.
authorEric Anholt <eric@anholt.net>
Wed, 25 May 2011 20:46:47 +0000 (13:46 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 May 2011 15:54:29 +0000 (08:54 -0700)
commit6d4b974e89ca8c803e2a0033005ad95eab537fe6
tree4fdc94be2e77c0b872bb169e05c71ba4cc14e632
parentd3451f7f9c095204105259bb989428709fc1fdf0
mesa: Flush vertices before updating drawbuffer computed state.

Otherwise, the driver is likely to draw the flushed vertices to the
new drawbuffer instead of the old one, missing the point of the flush.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/buffers.c