summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-05-23 14:58:02 -0600
committerBrian Paul <brianp@vmware.com>2016-05-24 10:26:26 -0600
commit39b7b8b90631a661166906f70879f6f6e11bc591 (patch)
tree914109738a0f7bc681074c949781011047e42132
parentce1cc70e27f19a072fac7bb21b8a77f531c42f70 (diff)
downloadexternal_mesa3d-39b7b8b90631a661166906f70879f6f6e11bc591.zip
external_mesa3d-39b7b8b90631a661166906f70879f6f6e11bc591.tar.gz
external_mesa3d-39b7b8b90631a661166906f70879f6f6e11bc591.tar.bz2
mesa: log buffer ID numbers in decimal, not hexadecimal
All the other error messages use decimal. Let's be consistent. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
-rw-r--r--src/mesa/main/bufferobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 34d81aa..33bc574 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -3967,7 +3967,7 @@ _mesa_InvalidateBufferSubData(GLuint buffer, GLintptr offset,
bufObj = _mesa_lookup_bufferobj(ctx, buffer);
if (!bufObj || bufObj == &DummyBufferObject) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "glInvalidateBufferSubData(name = 0x%x) invalid object",
+ "glInvalidateBufferSubData(name = %u) invalid object",
buffer);
return;
}
@@ -4018,7 +4018,7 @@ _mesa_InvalidateBufferData(GLuint buffer)
bufObj = _mesa_lookup_bufferobj(ctx, buffer);
if (!bufObj || bufObj == &DummyBufferObject) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "glInvalidateBufferData(name = 0x%x) invalid object",
+ "glInvalidateBufferData(name = %u) invalid object",
buffer);
return;
}