From 1979e22e13dd28553bcc67cc51e56684e6ee4768 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Fri, 30 Dec 2011 11:02:31 -0800 Subject: [PATCH] mesa: Fix typos in transform feedback error messages. Reviewed-by: Brian Paul Reviewed-by: Ian Romanick Reviewed-by: Eric Anholt --- 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 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; } -- 2.30.2