From: Matt Turner Date: Thu, 22 Nov 2012 08:06:03 +0000 (-0800) Subject: mesa: Use correct glGetTransformFeedbackVarying name in error msg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f3570efc740dc36305c99b8c932a02427975cc9;p=mesa.git mesa: Use correct glGetTransformFeedbackVarying name in error msg Reviewed-by: Brian Paul --- 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; }