mesa: test for FEATURE_ATI_fragment_shader
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 14:07:38 +0000 (08:07 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 14:07:38 +0000 (08:07 -0600)
src/mesa/main/context.c

index 8aab1eebc8b062ddc98d14f0ff18372cd22a0534..bd90027c8acf2af3d9b0d0786848a460b8b616e8 100644 (file)
 #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"