st/mesa: always call FLUSH_CURRENT before st->pipe->flush()
authorKeith Whitwell <keithw@vmware.com>
Thu, 18 Feb 2010 08:59:19 +0000 (08:59 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 18 Feb 2010 09:03:36 +0000 (09:03 +0000)
commit37e955d491664d27b1335c60ee40b730af6a1515
tree8dd24aa9b97010c1ef446d93c30ef52a97900641
parent64d18b819b4a1d3ecaac7741d1906ecc7aa3f49e
st/mesa: always call FLUSH_CURRENT before st->pipe->flush()

Undoes part of commit f455ca6 which would permit pipe->flush() to be
called while the VBO module still had its buffers mapped.  Some
drivers care deeply about this.  Sorry for not spotting this earlier.
src/mesa/state_tracker/st_cb_flush.c