gallium: only mark back color buffer surfaces as undefined after swapbuffers
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Dec 2008 01:00:59 +0000 (18:00 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Dec 2008 01:06:38 +0000 (18:06 -0700)
commit8137da952b6f30329adf7d49d2d9e58625534dd4
tree2a2ec6323406f23566964c287218ad36f227d560
parent99b862cd77fb088d0b2e62c6c15ecef82ec4fb80
gallium: only mark back color buffer surfaces as undefined after swapbuffers

Marking all surfaces as undefined was wrong and cause some glean failures
because glReadPixels was used after SwapBuffers.
src/mesa/state_tracker/st_framebuffer.c