intel: flush old context before binding new context
authorBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 00:32:48 +0000 (18:32 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 00:33:26 +0000 (18:33 -0600)
commit55058652b886b95bfc24109a9edb04d274c01c1a
tree245b31f7262bed5e0f4203625ab594ff5edd760e
parent5e6a6a2719c695996490bde491dac267e52f78af
intel: flush old context before binding new context

Per the GLX spec, when changing rendering contexts, the old context
should first be flushed.
src/mesa/drivers/dri/intel/intel_context.c