projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c1952
)
mesa: use enum name in bind_buffer_object() error message
author
Brian Paul
<brianp@vmware.com>
Mon, 23 May 2016 20:56:38 +0000
(14:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 24 May 2016 16:26:26 +0000
(10:26 -0600)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index 22073dd28b81b6adfcc1266123aca29275a4c376..34d81aa5d689932bc263821adc4384b14ee5a9b6 100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-1020,7
+1020,8
@@
bind_buffer_object(struct gl_context *ctx, GLenum target, GLuint buffer)
bindTarget = get_buffer_target(ctx, target);
if (!bindTarget) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glBindBufferARB(target 0x%x)", target);
+ _mesa_error(ctx, GL_INVALID_ENUM, "glBindBufferARB(target %s)",
+ _mesa_enum_to_string(target));
return;
}