summaryrefslogtreecommitdiff
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-09-18 16:41:44 +0200
committerIan Romanick <ian.d.romanick@intel.com>2010-09-27 15:23:14 -0700
commit02984e3536bf9a4f149916b45d727659c8dc9a7c (patch)
tree93446695962768698aef01c3306535b823c238c8 /src/mesa/main/enable.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/enable.c')
-rw-r--r--src/mesa/main/enable.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 15ce2d1225..b2be44830a 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -335,13 +335,6 @@ _mesa_set_enable(GLcontext *ctx, GLenum cap, GLboolean state)
FLUSH_VERTICES(ctx, _NEW_POLYGON);
ctx->Polygon.CullFlag = state;
break;
- case GL_CULL_VERTEX_EXT:
- CHECK_EXTENSION(EXT_cull_vertex, cap);
- if (ctx->Transform.CullVertexFlag == state)
- return;
- FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
- ctx->Transform.CullVertexFlag = state;
- break;
case GL_DEPTH_TEST:
if (ctx->Depth.Test == state)
return;