mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE)

This commit is contained in:
Eric Anholt
2010-12-10 11:34:41 -08:00
parent ef3f7e61b3
commit a7e2d64971
-1
View File
@@ -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;
}