[Mesa-dev] [PATCH] mesa: Use correct glGetTransformFeedbackVarying name in error msg

Brian Paul brian.e.paul at gmail.com
Sun Nov 25 09:28:05 PST 2012


On Thu, Nov 22, 2012 at 1:07 AM, Matt Turner <mattst88 at gmail.com> wrote:
> ---
>  src/mesa/main/transformfeedback.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
> index e0dd4e8..22060c3 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;
>     }
>

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list