From 5b8eeaac3a1f45dd35fdf3c5b55919259846045a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 20 May 2021 17:04:31 -0400 Subject: [PATCH] mesa: Remove unused _es_color4ub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Dave Airlie Reviewed-by: Marek Olšák Part-of: --- 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);