Mesa (main): mesa: Remove unused _es_color4ub

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 7 19:02:50 UTC 2021


Module: Mesa
Branch: main
Commit: 5b8eeaac3a1f45dd35fdf3c5b55919259846045a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b8eeaac3a1f45dd35fdf3c5b55919259846045a

Author: Adam Jackson <ajax at redhat.com>
Date:   Thu May 20 17:04:31 2021 -0400

mesa: Remove unused _es_color4ub

Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14098>

---

 src/mesa/main/es1_conversion.c | 9 ---------
 src/mesa/main/es1_conversion.h | 3 ---
 2 files changed, 12 deletions(-)

diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c
index 69cebab3a47..b8f26e08c88 100644
--- a/src/mesa/main/es1_conversion.c
+++ b/src/mesa/main/es1_conversion.c
@@ -75,15 +75,6 @@ _mesa_ClipPlanex(GLenum plane, const GLfixed *equation)
    _mesa_ClipPlane(plane, converted_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)
 {
diff --git a/src/mesa/main/es1_conversion.h b/src/mesa/main/es1_conversion.h
index 12a5d4a939e..640150d1400 100644
--- a/src/mesa/main/es1_conversion.h
+++ b/src/mesa/main/es1_conversion.h
@@ -43,9 +43,6 @@ _mesa_ClipPlanef(GLenum plane, const GLfloat *equation);
 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);
 



More information about the mesa-commit mailing list