From: Brian Paul Date: Mon, 23 May 2016 20:58:02 +0000 (-0600) Subject: mesa: log buffer ID numbers in decimal, not hexadecimal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39b7b8b90631a661166906f70879f6f6e11bc591;p=mesa.git mesa: log buffer ID numbers in decimal, not hexadecimal All the other error messages use decimal. Let's be consistent. Reviewed-by: Anuj Phogat --- diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 34d81aa5d68..33bc57409b1 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; }