projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd155a
)
mesa: use caller string in error message in get_label_pointer()
author
Brian Paul
<brianp@vmware.com>
Sat, 14 Sep 2013 15:56:08 +0000
(09:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Oct 2013 16:10:00 +0000
(10:10 -0600)
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/mesa/main/objectlabel.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/objectlabel.c
b/src/mesa/main/objectlabel.c
index d9e42cfe4a6b02ae6f8d7ca1b3fd8c9e9a7c13eb..bfe9ba20b34aeff0e3d7068d2596d10386ebe8c5 100644
(file)
--- 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;