From: Adam Jackson Date: Thu, 20 May 2021 21:04:31 +0000 (-0400) Subject: mesa: Remove unused _es_color4ub X-Git-Tag: upstream/22.3.5~15022 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b8eeaac3a1f45dd35fdf3c5b55919259846045a;p=platform%2Fupstream%2Fmesa.git mesa: Remove unused _es_color4ub Reviewed-by: Dave Airlie Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c index 69cebab..b8f26e0 100644 --- a/src/mesa/main/es1_conversion.c +++ b/src/mesa/main/es1_conversion.c @@ -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), diff --git a/src/mesa/main/es1_conversion.h b/src/mesa/main/es1_conversion.h index 12a5d4a..640150d 100644 --- a/src/mesa/main/es1_conversion.h +++ b/src/mesa/main/es1_conversion.h @@ -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