summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_arbshader.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2006-08-01 20:07:31 +0000
committerMichal Krol <[email protected]>2006-08-01 20:07:31 +0000
commit365582dd6f632aafbc1c817aa57926d679bb2efc (patch)
tree75f3184e471793c06cd16ef1bdd3e10629f2a28a /src/mesa/swrast/s_arbshader.c
parentcc738e004f083566f3e1723f72623ef9875f72ec (diff)
Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
Diffstat (limited to 'src/mesa/swrast/s_arbshader.c')
-rw-r--r--src/mesa/swrast/s_arbshader.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_arbshader.c b/src/mesa/swrast/s_arbshader.c
index a2dc1353f04..c3f85ee1574 100644
--- a/src/mesa/swrast/s_arbshader.c
+++ b/src/mesa/swrast/s_arbshader.c
@@ -35,6 +35,8 @@
#include "slang_utility.h"
#include "slang_link.h"
+#if FEATURE_ARB_fragment_shader
+
void
_swrast_exec_arbshader(GLcontext *ctx, struct sw_span *span)
{
@@ -113,3 +115,6 @@ _swrast_exec_arbshader(GLcontext *ctx, struct sw_span *span)
}
}
}
+
+#endif /* FEATURE_ARB_fragment_shader */
+