From cb66e9f2b427afeffc0b92801e6943f0b17bf1f1 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 17 Feb 2010 11:18:03 +0100 Subject: glsl/pp: Remove sl_pp_get_extension_state(). Parse extension tokens to track current state of extension enables. --- src/glsl/pp/sl_pp_context.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/glsl/pp/sl_pp_context.h') 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 { -- cgit v1.2.3