summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-04-01 01:41:54 +0000
committerBrian Paul <[email protected]>2005-04-01 01:41:54 +0000
commitfe1230f1c88fbe2e756f159625988ec3c66be2e6 (patch)
tree5cf4906ca089b16adf4b32fa9af82cbc29e0afbf /src/mesa/main/config.h
parent26772ac988ee0f125da6b7bb15990bbf40d5f944 (diff)
Use FEATURE_shading_language to control whether the shading language
compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index c29faebae77..0ab0e471812 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -297,6 +297,10 @@
#define FEATURE_ARB_shader_objects (FEATURE_ARB_vertex_shader || FEATURE_ARB_fragment_shader)
#define FEATURE_ATI_fragment_shader _HAVE_FULL_GL
#define FEATURE_EXT_framebuffer_object _HAVE_FULL_GL
+
+#ifndef FEATURE_shading_language
+#define FEATURE_shading_language 0
+#endif
/*@}*/