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 f8d0c3fb6fd993d66b12815520227af13201213a..a62395a4327cace59e6e5813ad3478583400b550 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: