summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZou Nan hai <[email protected]>2007-08-02 14:35:59 +0800
committerZou Nan hai <[email protected]>2007-08-02 14:35:59 +0800
commit246d1d2522858a1bcf525d64ad165f9af11a2b4d (patch)
treec797ba12d61983f5d997e28a749576c8b249bb57 /src
parent6bf81a5edfa287a396f30188b107ff1761039f3f (diff)
Fix previous commit
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tex.c b/src/mesa/drivers/dri/i965/brw_tex.c
index f8d0c3fb6fd..a62395a4327 100644
--- a/src/mesa/drivers/dri/i965/brw_tex.c
+++ b/src/mesa/drivers/dri/i965/brw_tex.c
@@ -180,7 +180,7 @@ brwChooseTextureFormat( GLcontext *ctx, GLint internalFormat,
case GL_COMPRESSED_SRGB_ALPHA_EXT:
case GL_COMPRESSED_SLUMINANCE_EXT:
case GL_COMPRESSED_SLUMINANCE_ALPHA_EXT:
- return &_mesa_texformat_srgb_dxt1;
+ return &_mesa_texformat_srgba8;
case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT:
case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT:
case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: