[Mesa-dev] [PATCH 1/3] mesa: Fix typos in transform feedback error messages.
Ian Romanick
idr at freedesktop.org
Tue Jan 3 12:58:33 PST 2012
On 01/02/2012 09:37 PM, Paul Berry wrote:
Patches 1/3 and 3/3 are
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
I had a question about 2/3.
> ---
> 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;
> }
>
More information about the mesa-dev
mailing list