mesa: Remove unused _es_color4ub
authorAdam Jackson <ajax@redhat.com>
Thu, 20 May 2021 21:04:31 +0000 (17:04 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Dec 2021 18:21:52 +0000 (18:21 +0000)
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14098>

src/mesa/main/es1_conversion.c
src/mesa/main/es1_conversion.h

index 69cebab..b8f26e0 100644 (file)
@@ -76,15 +76,6 @@ _mesa_ClipPlanex(GLenum plane, const GLfixed *equation)
 }
 
 void GL_APIENTRY
-_es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
-{
-    _es_Color4f((GLfloat) (red / 255.0f),
-                (GLfloat) (green / 255.0f),
-                (GLfloat) (blue / 255.0f),
-                (GLfloat) (alpha / 255.0f));
-}
-
-void GL_APIENTRY
 _mesa_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
 {
     _es_Color4f((GLfloat) (red / 65536.0f),
index 12a5d4a..640150d 100644 (file)
@@ -44,9 +44,6 @@ void GL_APIENTRY
 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation);
 
 void GL_APIENTRY
-_es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
-
-void GL_APIENTRY
 _mesa_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
 
 void GL_APIENTRY