swrast: Don't assert against glReadPixels of GL_RED and GL_RG.
authorEric Anholt <eric@anholt.net>
Sat, 16 Apr 2011 00:50:41 +0000 (17:50 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Apr 2011 18:19:53 +0000 (11:19 -0700)
commit641dd899bd485c194c20a871633797a47e4f912d
tree057f0e007f961d3735a20c1c04342909b797ebb1
parentcd3568c329cff16333455fa2228a7c27b261cf05
swrast: Don't assert against glReadPixels of GL_RED and GL_RG.

Everything appears to already be in place for this.  Fixes aborts in:
ARB_texture_rg/fbo-alphatest-formats-float
ARB_texture_rg/fbo-blending-formats-float.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c