Module: Mesa Branch: master Commit: 69daf335a08934057ef6378b4bac6ca225a461dc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69daf335a08934057ef6378b4bac6ca225a461dc
Author: Brian Paul <[email protected]> Date: Sat Sep 14 09:56:08 2013 -0600 mesa: use caller string in error message in get_label_pointer() Reviewed-by: Timothy Arceri <[email protected]> --- src/mesa/main/objectlabel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/objectlabel.c b/src/mesa/main/objectlabel.c index d9e42cf..bfe9ba2 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
