mesa: fix GetStringi error message with correct function name

Signed-off-by: Benjamin Bellec <b.bellec@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Benjamin Bellec
2014-04-21 08:44:20 -06:00
committed by Brian Paul
parent 27496af67f
commit 9b3b9c613f

View File

@@ -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;
}
}