diff options
author | Ian Romanick <[email protected]> | 2010-10-01 16:07:28 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-10-01 16:55:35 -0700 |
commit | e2a054b70cb5dace40fc1426cbf936366dc72fb9 (patch) | |
tree | 1118ecc18cd0dbf9850f8d0a0316693d019a69c2 /src/mesa/main/teximage.c | |
parent | e5fd15199dce4cb56e84edb5866167d4906d063f (diff) |
mesa: Add ARB_texture_compression_rgtc as an alias for EXT_texture_compression_rgtc
Change the name in the extension tracking structure to ARB (from EXT).
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 28d370eb659..6c3f49f667b 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -486,13 +486,13 @@ _mesa_base_tex_format( GLcontext *ctx, GLint internalFormat ) } } - if (ctx->Extensions.EXT_texture_compression_rgtc) { + if (ctx->Extensions.ARB_texture_compression_rgtc) { switch (internalFormat) { - case GL_COMPRESSED_RED_RGTC1_EXT: - case GL_COMPRESSED_SIGNED_RED_RGTC1_EXT: + case GL_COMPRESSED_RED_RGTC1: + case GL_COMPRESSED_SIGNED_RED_RGTC1: return GL_RED; - case GL_COMPRESSED_RED_GREEN_RGTC2_EXT: - case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: + case GL_COMPRESSED_RG_RGTC2: + case GL_COMPRESSED_SIGNED_RG_RGTC2: return GL_RG; default: ; /* fallthrough */ |