summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/transformfeedback.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-11-22 00:06:03 -0800
committerMatt Turner <[email protected]>2012-11-26 10:08:05 -0800
commit8f3570efc740dc36305c99b8c932a02427975cc9 (patch)
treeb025dc04982e175d890fd1ce562dc60a15dfacdf /src/mesa/main/transformfeedback.c
parent0f5e2ce8541855c65852dabbb19313fd0bb65b3d (diff)
mesa: Use correct glGetTransformFeedbackVarying name in error msg
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/transformfeedback.c')
-rw-r--r--src/mesa/main/transformfeedback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
index e0dd4e886e9..22060c34c97 100644
--- a/src/mesa/main/transformfeedback.c
+++ b/src/mesa/main/transformfeedback.c
@@ -622,14 +622,14 @@ _mesa_GetTransformFeedbackVarying(GLuint program, GLuint index,
shProg = _mesa_lookup_shader_program(ctx, program);
if (!shProg) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "glGetTransformFeedbackVaryings(program=%u)", program);
+ "glGetTransformFeedbackVarying(program=%u)", program);
return;
}
linked_xfb_info = &shProg->LinkedTransformFeedback;
if (index >= (GLuint) linked_xfb_info->NumVarying) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "glGetTransformFeedbackVaryings(index=%u)", index);
+ "glGetTransformFeedbackVarying(index=%u)", index);
return;
}