mesa: Export S3_s3tc as well.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 6 Nov 2009 12:05:43 +0000 (12:05 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 6 Nov 2009 12:06:45 +0000 (12:06 +0000)
Used in Quake3.

src/mesa/state_tracker/st_extensions.c

index 3f835d38dd5138624b4e2902de324d1d86289c20..57fe72d76a7c19dd45fa8f06a93f29a4ddc703be 100644 (file)
@@ -284,6 +284,7 @@ void st_init_extensions(struct st_context *st)
                                    PIPE_TEXTURE_2D, 
                                    PIPE_TEXTURE_USAGE_SAMPLER, 0)) {
       ctx->Extensions.EXT_texture_compression_s3tc = GL_TRUE;
+      ctx->Extensions.S3_s3tc = GL_TRUE;
    }
 
    /* ycbcr support */