glsl/pp: fix extension enable/disable options
authorBrian Paul <brianp@vmware.com>
Wed, 10 Feb 2010 17:49:48 +0000 (10:49 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 10 Feb 2010 17:49:50 +0000 (10:49 -0700)
commit3251f31d593129e772475f2219771c660c53bf4e
tree65aa072a7ffecdf6e487f5b2377e772efc12450a
parent8b1c332a77555b94f5665517e5fdcb416e1a67b7
glsl/pp: fix extension enable/disable options

Now the #extension name: disable/enable flags do the right thing.

Fixes glean/glsl1 "Preprocessor test (extension test 3)"
src/glsl/pp/sl_pp_context.h
src/glsl/pp/sl_pp_extension.c
src/glsl/pp/sl_pp_if.c