summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_arbshader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_vb_arbshader.c')
-rw-r--r--src/mesa/tnl/t_vb_arbshader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vb_arbshader.c b/src/mesa/tnl/t_vb_arbshader.c
index 174d798543..13aa3ea910 100644
--- a/src/mesa/tnl/t_vb_arbshader.c
+++ b/src/mesa/tnl/t_vb_arbshader.c
@@ -34,6 +34,8 @@
#include "slang_utility.h"
#include "slang_link.h"
+#if FEATURE_ARB_vertex_shader
+
typedef struct
{
GLvector4f outputs[VERT_RESULT_MAX];
@@ -295,3 +297,5 @@ const struct tnl_pipeline_stage _tnl_arb_vertex_shader_stage = {
run_arb_vertex_shader
};
+#endif /* FEATURE_ARB_vertex_shader */
+