Commit 39b7b8b9 authored by Brian Paul's avatar Brian Paul

mesa: log buffer ID numbers in decimal, not hexadecimal

All the other error messages use decimal.  Let's be consistent.
Reviewed-by: Anuj Phogat's avatarAnuj Phogat <anuj.phogat@gmail.com>
parent ce1cc70e
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment