diff options
author | Brian Paul <[email protected]> | 2009-09-09 08:54:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-09 08:54:38 -0600 |
commit | 3fed69eb168774d2303e4efb9149f34e55d91b58 (patch) | |
tree | 46a63a73c5a3c3b649b76743600f38466620f0c5 /src/mesa/main/enable.c | |
parent | da9ed257a3b47c97ac557da17c32cf271190a407 (diff) |
mesa: move call to init_c_cliptest() from enable.c to tnl module.
Fixed gallium build breakage.
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index d066153fc2c..4c1f46102d1 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -36,8 +36,6 @@ #include "simple_list.h" #include "mtypes.h" #include "enums.h" -#include "math/m_matrix.h" -#include "math/m_xform.h" #include "api_arrayelt.h" @@ -951,12 +949,6 @@ _mesa_set_enable(GLcontext *ctx, GLenum cap, GLboolean state) case GL_DEPTH_CLAMP: if (ctx->Transform.DepthClamp == state) return; - /* Neither the x86 nor sparc asm cliptest functions have been updated - * for ARB_depth_clamp, so force the C paths. - */ - if (state) - init_c_cliptest(); - CHECK_EXTENSION(ARB_depth_clamp, cap); FLUSH_VERTICES(ctx, _NEW_TRANSFORM); ctx->Transform.DepthClamp = state; |