[Mesa-dev] [PATCH] mesa: fix a typo in glDetachShader error message
Brian Paul
brianp at vmware.com
Tue Dec 10 08:15:19 PST 2013
On 12/10/2013 05:28 AM, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
> src/mesa/main/shaderapi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
> index 1d9aac3..4f3be68 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;
> }
> }
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list