summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-06-27 18:20:23 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:21 -0700
commite14b486113de60c53a933c3ce5605863b0a84108 (patch)
treebbc9968a3b8cc3987822c8b0435b92fb90f6744d /src/mesa
parentb0d755f00bd5a5f06dbeb9cefc69f6a3186ff39d (diff)
mesa: Just set extension flags instead of calling _mesa_enable_extension
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/extensions.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index b8b69d07863..a39c3e15e5d 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -456,11 +456,10 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
ctx->Extensions.NV_fragment_program_option = GL_TRUE;
ctx->Extensions.EXT_gpu_program_parameters = GL_TRUE;
ctx->Extensions.OES_standard_derivatives = GL_TRUE;
- _mesa_enable_extension(ctx, "GL_3DFX_texture_compression_FXT1");
+ ctx->Extensions.TDFX_texture_compression_FXT1 = GL_TRUE;
if (ctx->Mesa_DXTn) {
ctx->Extensions.ANGLE_texture_compression_dxt = GL_TRUE;
- _mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc");
- _mesa_enable_extension(ctx, "GL_S3_s3tc");
+ ctx->Extensions.EXT_texture_compression_s3tc = GL_TRUE;
}
}