mesa: remove FEATURE_userclip define.

Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Oliver McFadden 2012-09-11 09:00:23 +03:00
parent eeed210c7d
commit fc66313c96
3 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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
}

View File

@ -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