summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 09:00:23 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:56:27 +0300
commitfc66313c96b0311c592322fe47bf0d51fd1a9dcc (patch)
tree0d02160fe6d31d02668d621ce42535b5cb290575 /src
parenteeed210c7d407d9132f10007f797bc3b44ada553 (diff)
mesa: remove FEATURE_userclip define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/enable.c2
-rw-r--r--src/mesa/main/matrix.c2
-rw-r--r--src/mesa/main/mfeatures.h2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 5dd88331114..e0fd33bab2c 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -315,7 +315,6 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state)
}
}
break;
-#if FEATURE_userclip
case GL_CLIP_DISTANCE0:
case GL_CLIP_DISTANCE1:
case GL_CLIP_DISTANCE2:
@@ -345,7 +344,6 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state)
}
}
break;
-#endif
case GL_COLOR_MATERIAL:
if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES)
goto invalid_enum_error;
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c
index 5c3569c16a7..76f5ea7cd69 100644
--- a/src/mesa/main/matrix.c
+++ b/src/mesa/main/matrix.c
@@ -572,7 +572,6 @@ update_projection( struct gl_context *ctx )
{
_math_matrix_analyse( ctx->ProjectionMatrixStack.Top );
-#if FEATURE_userclip
/* Recompute clip plane positions in clipspace. This is also done
* in _mesa_ClipPlane().
*/
@@ -586,7 +585,6 @@ update_projection( struct gl_context *ctx )
}
}
}
-#endif
}
diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h
index 2597583ec63..b7acbee7e0f 100644
--- a/src/mesa/main/mfeatures.h
+++ b/src/mesa/main/mfeatures.h
@@ -84,8 +84,6 @@
#define FEATURE_remap_table 0
#endif
-#define FEATURE_userclip 1
-
#define FEATURE_accum FEATURE_GL
#define FEATURE_arrayelt FEATURE_GL
#define FEATURE_attrib_stack FEATURE_GL