[Mesa-dev] [PATCH 1/3] mesa: Fix typos in transform feedback error messages.

Brian Paul brianp at vmware.com
Tue Jan 3 06:41:16 PST 2012


On 01/02/2012 10:37 PM, Paul Berry wrote:
> ---
>   src/mesa/main/shaderapi.c         |    2 +-
>   src/mesa/main/transformfeedback.c |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
> index b71b44b..52a9bd4 100644
> --- a/src/mesa/main/shaderapi.c
> +++ b/src/mesa/main/shaderapi.c
> @@ -751,7 +751,7 @@ link_program(struct gl_context *ctx, GLuint program)
>   	   || shProg == ctx->Shader.CurrentGeometryProgram
>   	   || shProg == ctx->Shader.CurrentFragmentProgram)) {
>         _mesa_error(ctx, GL_INVALID_OPERATION,
> -                  "glLinkProgram(transform feedback active");
> +                  "glLinkProgram(transform feedback active)");
>         return;
>      }
>
> diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
> index be0d0ff..305589d 100644
> --- a/src/mesa/main/transformfeedback.c
> +++ b/src/mesa/main/transformfeedback.c
> @@ -461,7 +461,7 @@ _mesa_BindBufferRange(GLenum target, GLuint index,
>
>      if ((size<= 0) || (size&  0x3)) {
>         /* must be positive and multiple of four */
> -      _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(size%d)", (int) size);
> +      _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(size=%d)", (int) size);
>         return;
>      }
>

The series looks good to me.

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


More information about the mesa-dev mailing list