mesa: Use correct glGetTransformFeedbackVarying name in error msg
authorMatt Turner <mattst88@gmail.com>
Thu, 22 Nov 2012 08:06:03 +0000 (00:06 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 26 Nov 2012 18:08:05 +0000 (10:08 -0800)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/transformfeedback.c

index e0dd4e886e9e4c1cf63bd1bf07d0ab09d9cc0e77..22060c34c97d55509382e6b5fd5ee54e34c91011 100644 (file)
@@ -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;
    }