mesa: Fix the baseFormat for GL_COMPRESSED_SLUMINANCE_EXT.
authorEric Anholt <eric@anholt.net>
Tue, 4 Jan 2011 23:25:35 +0000 (15:25 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 4 Jan 2011 23:25:35 +0000 (15:25 -0800)
commit3488b14a047bf1f05831b3bbdc374a0da482212c
tree61469a32a351cbc1e74d7b32ee88263ced990872
parent5dbb856e960f9448ec4e322f936f5f6763ee77e2
mesa: Fix the baseFormat for GL_COMPRESSED_SLUMINANCE_EXT.

It's just LUMINANCE, not LUMINANCE_ALPHA.  Fixes
fbo-generatemipmap-formats GL_EXT_texture_sRGB-s3tc assertion failure
when it tries to pack the L8 channels into LUMINANCE_ALPHA and wonders
why it's trying to do that.
src/mesa/main/teximage.c