summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2013-12-10 14:28:40 +0200
committerTapani Pälli <[email protected]>2013-12-12 07:50:06 +0200
commitcbe7431cdb57edb87e53e61ff97db54831cc00b7 (patch)
treea6526adce0bda725dca36c9a7f16ff515472e77b /src/mesa/main/shaderapi.c
parentccd6bf8272cba7c57e4ae09ab8a03db63472648e (diff)
mesa: fix a typo in glDetachShader error message
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r--src/mesa/main/shaderapi.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}