mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-14 00:47:37 +00:00
Fix be dx10 textures
This commit is contained in:
parent
3fb31a0130
commit
4b681ef745
1 changed files with 6 additions and 2 deletions
|
@ -103,9 +103,13 @@ namespace FirstPlugin
|
|||
{
|
||||
case DDS.DXGI_FORMAT.DXGI_FORMAT_BC1_UNORM:
|
||||
return SurfaceFormat.BC1_UNORM;
|
||||
|
||||
case DDS.DXGI_FORMAT.DXGI_FORMAT_BC1_UNORM_SRGB:
|
||||
return SurfaceFormat.BC1_SRGB
|
||||
return SurfaceFormat.BC1_SRGB;
|
||||
case DDS.DXGI_FORMAT.DXGI_FORMAT_BC3_UNORM:
|
||||
|
||||
return SurfaceFormat.BC3_UNORM;
|
||||
case DDS.DXGI_FORMAT.DXGI_FORMAT_BC3_UNORM_SRGB:
|
||||
return SurfaceFormat.BC3_SRGB;
|
||||
case DDS.DXGI_FORMAT.DXGI_FORMAT_BC4_UNORM:
|
||||
return SurfaceFormat.BC4_UNORM;
|
||||
case DDS.DXGI_FORMAT.DXGI_FORMAT_BC4_SNORM:
|
||||
|
|
Loading…
Reference in a new issue