swrast: Move up state validation in _swrast_ReadPixels.
authorMichel Dänzer <daenzer@vmware.com>
Sat, 3 Oct 2009 16:01:58 +0000 (18:01 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Sat, 3 Oct 2009 16:01:58 +0000 (18:01 +0200)
commitf741c1eed4559329a89fbf8da569889bbcdace26
tree786a22974e89c9d2cb2d2135e421de92d68be1b8
parent4a6759b7789dc703a8ee9f1cf08af22c6e8101fb
swrast: Move up state validation in _swrast_ReadPixels.

This ensures the driver won't map the wrong set of textures.
src/mesa/swrast/s_readpix.c