mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE)
This commit is contained in:
parent
ef3f7e61b3
commit
a7e2d64971
1 changed files with 0 additions and 1 deletions
|
|
@ -863,7 +863,6 @@ const char *
|
|||
_mesa_get_format_name(gl_format format)
|
||||
{
|
||||
const struct gl_format_info *info = _mesa_get_format_info(format);
|
||||
ASSERT(info->BytesPerBlock);
|
||||
return info->StrName;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue