summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index e63c0c49d1b..822f8cd64e8 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -555,7 +555,7 @@ get_extension_override( struct gl_context *ctx )
break;
}
recognized = set_extension(ctx, ext, enable);
- if (!recognized) {
+ if (!recognized && enable) {
strcat(extra_exts, ext);
strcat(extra_exts, " ");
}