mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Fix] (MG_Util/Metrics): Handle TextureInternalFormat::Red
This commit is contained in:
@@ -6,6 +6,7 @@ namespace MobileGL {
|
|||||||
SizeT GetSizedInternalFormatSizeInBytes(TextureInternalFormat internal) {
|
SizeT GetSizedInternalFormatSizeInBytes(TextureInternalFormat internal) {
|
||||||
switch (internal) {
|
switch (internal) {
|
||||||
case TextureInternalFormat::R8:
|
case TextureInternalFormat::R8:
|
||||||
|
case TextureInternalFormat::Red:
|
||||||
case TextureInternalFormat::R8Snorm:
|
case TextureInternalFormat::R8Snorm:
|
||||||
case TextureInternalFormat::R8I:
|
case TextureInternalFormat::R8I:
|
||||||
case TextureInternalFormat::R8UI:
|
case TextureInternalFormat::R8UI:
|
||||||
|
|||||||
Reference in New Issue
Block a user