summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_rasterpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_rasterpos.c')
-rw-r--r--src/mesa/tnl/t_rasterpos.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_rasterpos.c b/src/mesa/tnl/t_rasterpos.c
index 99b6787455..a8cf86060f 100644
--- a/src/mesa/tnl/t_rasterpos.c
+++ b/src/mesa/tnl/t_rasterpos.c
@@ -37,6 +37,8 @@
#include "tnl/tnl.h"
+#if FEATURE_rastpos
+
/**
* Clip a point against the view volume.
@@ -508,3 +510,6 @@ _tnl_RasterPos(GLcontext *ctx, const GLfloat vObj[4])
_mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
}
}
+
+
+#endif /* FEATURE_rastpos */