mesa: test for FEATURE_ATI_fragment_shader
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 14:07:38 +0000 (08:07 -0600)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:55 +0000 (22:13 -0700)
src/mesa/main/context.c

index ed0addcdbbfacdea03f3e748200795c3c2c6a10d..9c4c0bfd6b4f38bdc424ea69ee45f599963fb4b9 100644 (file)
 #include "shader/program.h"
 #endif
 #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"