summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-02-17 11:18:03 +0100
committerMichal Krol <[email protected]>2010-02-17 11:22:01 +0100
commitcb66e9f2b427afeffc0b92801e6943f0b17bf1f1 (patch)
tree00a9640eb7519e1c03c9f4d755d014146b28ee8f /src/glsl/pp/sl_pp_context.h
parent27a68bd14aea55ee4653520403c29e3e16f55e63 (diff)
glsl/pp: Remove sl_pp_get_extension_state().
Parse extension tokens to track current state of extension enables.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index 1232f1e9e31..8abb9708b85 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -43,16 +43,8 @@
#define SL_PP_MAX_PREDEFINED 16
-enum sl_pp_extension_state {
- SL_PP_EXTENSION_STATE_ENABLED,
- SL_PP_EXTENSION_STATE_DISABLED,
- SL_PP_EXTENSION_STATE_WARN,
- SL_PP_EXTENSION_STATE_REQUIRE
-};
-
struct sl_pp_extension {
int name; /*< GL_VENDOR_extension_name */
- enum sl_pp_extension_state state;
};
struct sl_pp_predefined {