diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-09-08 17:57:43 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-09-13 17:38:05 +0800 |
commit | 0fc1cd5e9125dfe86b9dc31ec8084ee1f28aef47 (patch) | |
tree | a4827b09ae5244891ad544ff17d118aa4fd0073c /src/mesa/tnl/t_rasterpos.c | |
parent | 5f471a37aa00d1dd544d76a6b2de47f0b60adcba (diff) |
mesa/tnl: Respect mfeatures.h.
_tnl_RasterPos should be disabled with FEATURE_rastpos.
Diffstat (limited to 'src/mesa/tnl/t_rasterpos.c')
-rw-r--r-- | src/mesa/tnl/t_rasterpos.c | 5 |
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 */ |