R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXT
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 13 May 2009 23:43:04 +0000 (19:43 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 13 May 2009 23:43:04 +0000 (19:43 -0400)
commit7cd57e35b6427068b87c2fdb6c2aadef57f53520
treef78aeaf435822915d46b046faab225338db7327d
parentca792be42b238bd1c8f8a99ad72ea8558cbbfc32
R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXT

In r*00SetTexBuffer2(), if the passed in text glx_texture_format
is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only
texture format, even if the DRI buffer has four channels.

https://bugs.freedesktop.org/show_bug.cgi?id=21609
src/mesa/drivers/dri/r200/r200_texstate.c
src/mesa/drivers/dri/radeon/radeon_texstate.c