From: Benjamin Bellec Date: Mon, 21 Apr 2014 14:44:20 +0000 (-0600) Subject: mesa: fix GetStringi error message with correct function name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b3b9c613f186a09a0cc1080cc196c7a677dfc3c;p=mesa.git mesa: fix GetStringi error message with correct function name Signed-off-by: Benjamin Bellec Reviewed-by: Brian Paul Cc: --- diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 3ac62d402ab..b0bd3190beb 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -166,7 +166,7 @@ _mesa_GetStringi(GLenum name, GLuint index) } return _mesa_get_enabled_extension(ctx, index); default: - _mesa_error( ctx, GL_INVALID_ENUM, "glGetString" ); + _mesa_error(ctx, GL_INVALID_ENUM, "glGetStringi"); return (const GLubyte *) 0; } }