summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-01-25 15:38:04 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-01-25 15:38:04 +0000
commit9cc4c40ecf801a26bbe0f35720ab111df9359ad2 (patch)
tree7ee0d2fde48a89984104455d192b537521ba26da
parentb3000ba9185da63b16de76149b4d8a6ac294ea8f (diff)
Undo part of last change until bug fixed.
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c
index a8d1a8494e..8bcbe0f15d 100644
--- a/src/mesa/drivers/dri/unichrome/via_tex.c
+++ b/src/mesa/drivers/dri/unichrome/via_tex.c
@@ -264,7 +264,7 @@ viaChooseTexFormat( GLcontext *ctx, GLint internalFormat,
if ( format == GL_RGB && type == GL_UNSIGNED_SHORT_5_6_5 ) {
return &_mesa_texformat_rgb565;
}
- return do32bpt ? &_mesa_texformat_rgb888 : &_mesa_texformat_rgb565;
+ return do32bpt ? &_mesa_texformat_argb8888 : &_mesa_texformat_rgb565;
case GL_RGBA8:
case GL_RGB10_A2: