st/dri: Fix setTexBuffer2 with __DRI_TEXTURE_FORMAT_RGB.
authorChia-I Wu <olv@lunarg.com>
Mon, 5 Apr 2010 02:06:52 +0000 (10:06 +0800)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Apr 2010 06:47:11 +0000 (16:47 +1000)
commit968bf9634ec03e61441834603f13f0c914bbb0ce
tree1b982fba448d0c0766dde197091e98754986499f
parent821abff8c03031603111abc17dabe7cfa28a31e1
st/dri: Fix setTexBuffer2 with __DRI_TEXTURE_FORMAT_RGB.

When the format is __DRI_TEXTURE_FORMAT_RGB, the texture should be
treated as if there is no alpha channel.
src/gallium/state_trackers/dri/drm/dri2.c