summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2006-10-15 21:47:56 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2006-10-15 21:47:56 +0000
commit97f47f771a405377b94b4b139450a7bd2db0c827 (patch)
tree8480e8ec408b92d9ebc637de36fb769cdcae147f /src/mesa/drivers/dri/common
parent4d4add0972d1c4eca3b62edb581fe65697b061ff (diff)
fix handling of textures with a base internal format that does not have all four rgba values set for radeon and r200 (discovered with a modified glean pixelFormats test, noone ever noticed in over 2 years). For radeon, use hw format I8 as previously, and change tex env to make the correct default values appear for both GL_ALPHA and GL_LUMINANCE textures. For r200, which supports GL_LUMINANCE just fine, use the AL88 hw format for GL_ALPHA textures, since it seems like it's probably not worth the effort to fix up the texture environment (certainly complicated in case of ATI_fragment_shader programs).
Diffstat (limited to 'src/mesa/drivers/dri/common')
0 files changed, 0 insertions, 0 deletions