From 9b3b9c613f186a09a0cc1080cc196c7a677dfc3c Mon Sep 17 00:00:00 2001 From: Benjamin Bellec Date: Mon, 21 Apr 2014 08:44:20 -0600 Subject: [PATCH] mesa: fix GetStringi error message with correct function name Signed-off-by: Benjamin Bellec Reviewed-by: Brian Paul Cc: --- src/mesa/main/getstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.30.2