summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-02-10 18:04:07 +0100
committerMichal Krol <[email protected]>2010-02-10 18:04:07 +0100
commit8b1c332a77555b94f5665517e5fdcb416e1a67b7 (patch)
treeca8a42e51ab93b99d389e39237bdd4031a7bc4a5 /src/glsl/pp/sl_pp_context.h
parentc1395a71ac5f279edca933a325e32e1512e0046b (diff)
Simplify GLSL extension mechanism.
Since extension name and extension name string are the same, collapse them into one name.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index 3eada380cd1..7b9f494f130 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -44,8 +44,7 @@
#define SL_PP_MAX_PREDEFINED 16
struct sl_pp_extension {
- int name; /*< VENDOR_extension_name */
- int name_string; /*< GL_VENDOR_extension_name */
+ int name; /*< GL_VENDOR_extension_name */
};
struct sl_pp_predefined {