Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXT
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 7 May 2009 02:42:50 +0000 (22:42 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 13 May 2009 23:04:18 +0000 (19:04 -0400)
commitea6a74abbe4053b958d640425e061f0ceec92291
tree8e4ffd48dd237e3f930ed53b52f0da0f715c3bad
parent34eab5dd9c837769f1259e1f900b4528586d23b2
Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXT

In r300SetTexBuffer2(), 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/r300/r300_texstate.c