summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es1_conversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/es1_conversion.c')
-rw-r--r--src/mesa/main/es1_conversion.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c
index 12cbcd4070f..ff5e45176e2 100644
--- a/src/mesa/main/es1_conversion.c
+++ b/src/mesa/main/es1_conversion.c
@@ -38,22 +38,6 @@
void GL_APIENTRY
_es_AlphaFuncx(GLenum func, GLclampx ref)
{
- switch(func) {
- case GL_NEVER:
- case GL_LESS:
- case GL_EQUAL:
- case GL_LEQUAL:
- case GL_GREATER:
- case GL_NOTEQUAL:
- case GL_GEQUAL:
- case GL_ALWAYS:
- break;
- default:
- _mesa_error(_mesa_get_current_context(), GL_INVALID_ENUM,
- "glAlphaFuncx(func=0x%x)", func);
- return;
- }
-
_mesa_AlphaFunc(func, (GLclampf) (ref / 65536.0f));
}