intel: Update Mesa state before span setup in glReadPixels.
authorEric Anholt <eric@anholt.net>
Sat, 20 Jun 2009 05:03:37 +0000 (22:03 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 21:40:15 +0000 (14:40 -0700)
commit2855ee82c6d74066e8d9e44b17b2ce3b5782110e
treea4ae873882dcb90dcf9ede50156d2a5b4f303f68
parent04081a164ca6160404d87dccbfc641bfd46428e0
intel: Update Mesa state before span setup in glReadPixels.

We could have mapped the wrong set of draw buffers.  Noticed while looking
into a DRI2 glean ReadPixels issue.
(cherry picked from commit afc981ee46791838f3cb83e11eb33938aa3efc83)
src/mesa/drivers/dri/i965/intel_pixel_read.c [new symlink]
src/mesa/drivers/dri/intel/intel_pixel.c
src/mesa/drivers/dri/intel/intel_pixel_read.c