[Fix] (MG_Util/Metrics): Handle TextureInternalFormat::Red

This commit is contained in:
BZLZHH
2025-11-30 10:13:31 +08:00
parent 3ba9709748
commit fe741f892e
@@ -6,6 +6,7 @@ namespace MobileGL {
SizeT GetSizedInternalFormatSizeInBytes(TextureInternalFormat internal) {
switch (internal) {
case TextureInternalFormat::R8:
case TextureInternalFormat::Red:
case TextureInternalFormat::R8Snorm:
case TextureInternalFormat::R8I:
case TextureInternalFormat::R8UI: