summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-10 10:49:48 -0700
committerBrian Paul <brianp@vmware.com>2010-02-10 10:49:50 -0700
commit3251f31d593129e772475f2219771c660c53bf4e (patch)
tree65aa072a7ffecdf6e487f5b2377e772efc12450a /src/glsl/pp/sl_pp_context.h
parent8b1c332a77555b94f5665517e5fdcb416e1a67b7 (diff)
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)"
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index 7b9f494f13..983a09c02a 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -45,6 +45,7 @@
struct sl_pp_extension {
int name; /*< GL_VENDOR_extension_name */
+ int enabled;
};
struct sl_pp_predefined {