mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 18:38:11 +02:00
mesa: print more info when valid_texture_object() fails
This commit is contained in:
parent
bd59dd69ba
commit
43d8ace88d
1 changed files with 2 additions and 1 deletions
|
|
@ -281,7 +281,8 @@ valid_texture_object(const struct gl_texture_object *tex)
|
|||
_mesa_problem(NULL, "invalid reference to a deleted texture object");
|
||||
return GL_FALSE;
|
||||
default:
|
||||
_mesa_problem(NULL, "invalid texture object Target value");
|
||||
_mesa_problem(NULL, "invalid texture object Target 0x%x, Id = %u",
|
||||
tex->Target, tex->Name);
|
||||
return GL_FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue