mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
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>
This commit is contained in:
parent
ce1cc70e27
commit
39b7b8b906
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue