aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-14 09:56:08 -0600
committerBrian Paul <[email protected]>2013-10-01 10:10:00 -0600
commit69daf335a08934057ef6378b4bac6ca225a461dc (patch)
tree80cb7fcb86481707820685302bbabcfab2bbb0d7
parentecd155a428ff441071ace8d789e4b89740dd1b58 (diff)
mesa: use caller string in error message in get_label_pointer()
Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/main/objectlabel.c2
1 files changed, 1 insertions, 1 deletions
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;