diff options
author | Ian Romanick <[email protected]> | 2012-12-01 12:02:04 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-01-23 23:38:04 -0500 |
commit | a021881ccdaf1d81fb7c8bef4b58b4c037dc4f44 (patch) | |
tree | d4a9d8d0df948ca77926dcb876d01834f43300ac /src/mesa/main/glformats.c | |
parent | 8059c2ea9011110df3632e28a4311de9373b9b4e (diff) |
mesa: Use a single flag for the S3TC extensions that don't require on-line compression
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Acked-by: Lee Salzman <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.c')
-rw-r--r-- | src/mesa/main/glformats.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index e4f784179c2..fc8bc2e3c3c 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -878,7 +878,8 @@ _mesa_is_compressed_format(struct gl_context *ctx, GLenum format) case GL_RGB4_S3TC: case GL_RGBA_S3TC: case GL_RGBA4_S3TC: - return _mesa_is_desktop_gl(ctx) && ctx->Extensions.S3_s3tc; + return _mesa_is_desktop_gl(ctx) && + ctx->Extensions.ANGLE_texture_compression_dxt; case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: |