From 69daf335a08934057ef6378b4bac6ca225a461dc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 14 Sep 2013 09:56:08 -0600 Subject: [PATCH] mesa: use caller string in error message in get_label_pointer() Reviewed-by: Timothy Arceri --- src/mesa/main/objectlabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/objectlabel.c b/src/mesa/main/objectlabel.c index d9e42cfe4a6..bfe9ba20b34 100644 --- a/src/mesa/main/objectlabel.c +++ b/src/mesa/main/objectlabel.c @@ -224,7 +224,7 @@ get_label_pointer(struct gl_context *ctx, GLenum identifier, GLuint name, } if (NULL == labelPtr) { - _mesa_error(ctx, GL_INVALID_VALUE, "glObjectLabel(name = %u)", name); + _mesa_error(ctx, GL_INVALID_VALUE, "%s(name = %u)", caller, name); } return labelPtr; -- 2.30.2