Fix previous commit
authorZou Nan hai <nanhai.zou@intel.com>
Thu, 2 Aug 2007 06:35:59 +0000 (14:35 +0800)
committerZou Nan hai <nanhai.zou@intel.com>
Thu, 2 Aug 2007 06:35:59 +0000 (14:35 +0800)
src/mesa/drivers/dri/i965/brw_tex.c

index f8d0c3f..a62395a 100644 (file)
@@ -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: