From: Paul Berry Date: Fri, 30 Dec 2011 19:02:31 +0000 (-0800) Subject: mesa: Fix typos in transform feedback error messages. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1979e22e13dd28553bcc67cc51e56684e6ee4768;p=mesa.git mesa: Fix typos in transform feedback error messages. Reviewed-by: Brian Paul Reviewed-by: Ian Romanick Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index b71b44b705d..52a9bd45254 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 be0d0ff19a4..305589df75a 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; }