summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/clip.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-09-18 16:41:44 +0200
committerIan Romanick <[email protected]>2010-09-27 15:23:14 -0700
commit02984e3536bf9a4f149916b45d727659c8dc9a7c (patch)
tree93446695962768698aef01c3306535b823c238c8 /src/mesa/main/clip.c
parent4b1f98241f9601c2b163bb41e45aa567f9cd61dd (diff)
Remove GL_EXT_cull_vertex
This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
Diffstat (limited to 'src/mesa/main/clip.c')
-rw-r--r--src/mesa/main/clip.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c
index 96c80e6ef8d..be8ce4278cd 100644
--- a/src/mesa/main/clip.c
+++ b/src/mesa/main/clip.c
@@ -114,46 +114,3 @@ _mesa_GetClipPlane( GLenum plane, GLdouble *equation )
equation[2] = (GLdouble) ctx->Transform.EyeUserPlane[p][2];
equation[3] = (GLdouble) ctx->Transform.EyeUserPlane[p][3];
}
-
-void GLAPIENTRY
-_mesa_CullParameterfvEXT (GLenum cap, GLfloat *v)
-{
- GET_CURRENT_CONTEXT(ctx);
- ASSERT_OUTSIDE_BEGIN_END(ctx);
-
- switch (cap) {
- case GL_CULL_VERTEX_EYE_POSITION_EXT:
- FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
- COPY_4FV(ctx->Transform.CullEyePos, v);
-
- _mesa_transform_vector( ctx->Transform.CullObjPos,
- ctx->Transform.CullEyePos,
- ctx->ModelviewMatrixStack.Top->inv );
- break;
-
- case GL_CULL_VERTEX_OBJECT_POSITION_EXT:
- FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
- COPY_4FV(ctx->Transform.CullObjPos, v);
-
- _mesa_transform_vector( ctx->Transform.CullEyePos,
- ctx->Transform.CullObjPos,
- ctx->ModelviewMatrixStack.Top->m );
- break;
- default:
- _mesa_error( ctx, GL_INVALID_ENUM, "glCullParameterfvEXT" );
- }
-}
-
-void GLAPIENTRY
-_mesa_CullParameterdvEXT (GLenum cap, GLdouble *v)
-{
- GLfloat f[4];
-
- f[0] = (GLfloat)v[0];
- f[1] = (GLfloat)v[1];
- f[2] = (GLfloat)v[2];
- f[3] = (GLfloat)v[3];
-
- _mesa_CullParameterfvEXT(cap, f);
-}
-