From: Tapani Pälli Date: Tue, 10 Dec 2013 12:28:40 +0000 (+0200) Subject: mesa: fix a typo in glDetachShader error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbe7431cdb57edb87e53e61ff97db54831cc00b7;p=mesa.git mesa: fix a typo in glDetachShader error message Signed-off-by: Tapani Pälli Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 1d9aac39df2..4f3be68a406 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -414,7 +414,7 @@ detach_shader(struct gl_context *ctx, GLuint program, GLuint shader) err = GL_INVALID_OPERATION; else err = GL_INVALID_VALUE; - _mesa_error(ctx, err, "glDetachProgram(shader)"); + _mesa_error(ctx, err, "glDetachShader(shader)"); return; } }