mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
mesa: improve error message
This commit is contained in:
parent
624661cae4
commit
c9126d66fa
1 changed files with 2 additions and 1 deletions
|
|
@ -1428,7 +1428,8 @@ _mesa_format_to_type_and_comps(gl_format format,
|
|||
|
||||
|
||||
default:
|
||||
_mesa_problem(NULL, "bad format in _mesa_format_to_type_and_comps");
|
||||
_mesa_problem(NULL, "bad format %s in _mesa_format_to_type_and_comps",
|
||||
_mesa_get_format_name(format));
|
||||
*datatype = 0;
|
||||
*comps = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue