mesa: Fix typos in transform feedback error messages.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Paul Berry
2011-12-30 11:02:31 -08:00
parent 3946448951
commit 1979e22e13
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}