projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41060a6
)
main/extensions: Don't advertise unknown extensions overrides with (-)
author
Jordan Justen
<jordan.l.justen@intel.com>
Sun, 8 Jun 2014 20:10:59 +0000
(13:10 -0700)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Mon, 16 Jun 2014 16:54:52 +0000
(09:54 -0700)
Previously setting:
MESA_EXTENSION_OVERRIDE=-GL_MESA_ham_sandwich
Would cause Mesa to advertise support for the GL_MESA_ham_sandwich
extension, even though the override specifically asked for it to be
disabled.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/extensions.c
b/src/mesa/main/extensions.c
index e63c0c49d1b87715b00479337b0062fb95a7faa5..822f8cd64e82624831076e9c68ff545e026f1e71 100644
(file)
--- 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, " ");
}