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:
@@ -751,7 +751,7 @@ link_program(struct gl_context *ctx, GLuint program)
|
|||||||
|| shProg == ctx->Shader.CurrentGeometryProgram
|
|| shProg == ctx->Shader.CurrentGeometryProgram
|
||||||
|| shProg == ctx->Shader.CurrentFragmentProgram)) {
|
|| shProg == ctx->Shader.CurrentFragmentProgram)) {
|
||||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||||
"glLinkProgram(transform feedback active");
|
"glLinkProgram(transform feedback active)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -461,7 +461,7 @@ _mesa_BindBufferRange(GLenum target, GLuint index,
|
|||||||
|
|
||||||
if ((size <= 0) || (size & 0x3)) {
|
if ((size <= 0) || (size & 0x3)) {
|
||||||
/* must be positive and multiple of four */
|
/* 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user