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>
Sat, 20 Jun 2009 05:17:46 +0000 (22:17 -0700)
commitafc981ee46791838f3cb83e11eb33938aa3efc83
treeacea8c9548068264b45bae0fdf73bd8ab20441e5
parentdcfe0d66bfff9a55741aee298b7ffb051a48f0d3
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.
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