mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-21 08:42:15 +09:00
[Fix] (MG_Util/Metrics): Handle TextureInternalFormat::Red
This commit is contained in:
1 parent
3ba9709748
commit
fe741f892e
1 file changed
+1
@@ -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