mesa: fix GetStringi error message with correct function name
authorBenjamin Bellec <b.bellec@gmail.com>
Mon, 21 Apr 2014 14:44:20 +0000 (08:44 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Apr 2014 14:44:20 +0000 (08:44 -0600)
Signed-off-by: Benjamin Bellec <b.bellec@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: <mesa-stable@lists.freedesktop.org>
src/mesa/main/getstring.c

index 3ac62d402ab4b09bb6d638b7ddfc545df944195e..b0bd3190beb3ebdeed42cd650968cd8b7123cb33 100644 (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;
    }
 }