summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBenjamin Bellec <[email protected]>2014-04-21 08:44:20 -0600
committerBrian Paul <[email protected]>2014-04-21 08:44:20 -0600
commit9b3b9c613f186a09a0cc1080cc196c7a677dfc3c (patch)
treea85a7960b780a82e623c616b0781c5e6045a66ee /src/mesa
parent27496af67f1a15a3a9aa5d5e09d43d9365101f71 (diff)
mesa: fix GetStringi error message with correct function name
Signed-off-by: Benjamin Bellec <[email protected]> Reviewed-by: Brian Paul <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/getstring.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}