From: Oliver McFadden Date: Tue, 11 Sep 2012 06:00:23 +0000 (+0300) Subject: mesa: remove FEATURE_userclip define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc66313c96b0311c592322fe47bf0d51fd1a9dcc;p=mesa.git mesa: remove FEATURE_userclip define. Signed-off-by: Oliver McFadden Reviewed-by: Brian Paul --- 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