main/extensions: Don't advertise unknown extensions overrides with (-)
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 8 Jun 2014 20:10:59 +0000 (13:10 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 16 Jun 2014 16:54:52 +0000 (09:54 -0700)
commitf2280eeba5599ae3b0d3a8ef188be0590bf78e69
tree350386074fa1527bfc0b883583a026f0e465aa32
parent41060a6095da5a424f9b31e5d52148a078cf1400
main/extensions: Don't advertise unknown extensions overrides with (-)

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