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:

committed by
Brian Paul

parent
27496af67f
commit
9b3b9c613f
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user