1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Fix BC5S dds importing.

This commit is contained in:
KillzXGaming 2019-03-31 19:18:14 -04:00
parent c8fa10a791
commit c98162622f
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -166,6 +166,7 @@ namespace Switch_Toolbox.Library
case FOURCC_ATI1:
case FOURCC_ATI2:
case FOURCC_BC5U:
case FOURCC_BC5S:
return true;
default:
return false;
@ -193,6 +194,7 @@ namespace Switch_Toolbox.Library
return 0x8;
case FOURCC_ATI2:
case FOURCC_BC5U:
case FOURCC_BC5S:
return 0x10;
default:
return 0;
@ -720,6 +722,9 @@ namespace Switch_Toolbox.Library
return TEX_FORMAT.BC5_UNORM;
case FOURCC_BC5U:
return TEX_FORMAT.BC5_UNORM;
case FOURCC_BC5S:
return TEX_FORMAT.BC5_SNORM;
case FOURCC_RXGB:
return TEX_FORMAT.R8G8B8A8_UNORM;
default:
@ -826,6 +831,7 @@ namespace Switch_Toolbox.Library
case FOURCC_BC4U:
case FOURCC_ATI2:
case FOURCC_BC5U:
case FOURCC_BC5S:
return true;
default:
return false;