summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-20 08:07:38 -0600
committerBrian Paul <[email protected]>2008-06-20 08:07:38 -0600
commit907c0978affb6bc7f8cb077f568829ecfaa89b04 (patch)
treead7ea3b75b950b6b01e18d7a9bfbf5a1731d01ad
parent9f6a4e2a65ff872bc27e7081df7d6205393a1180 (diff)
mesa: test for FEATURE_ATI_fragment_shader
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 8aab1eebc8b..bd90027c8ac 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -149,7 +149,9 @@
#include "glapi/glapitable.h"
#include "shader/program.h"
#include "shader/shader_api.h"
+#if FEATURE_ATI_fragment_shader
#include "shader/atifragshader.h"
+#endif
#if _HAVE_FULL_GL
#include "math/m_translate.h"
#include "math/m_matrix.h"