Fix be dx10 textures

This commit is contained in:
KillzXGaming 2019-03-29 23:43:01 -04:00 committed by GitHub
parent 3fb31a0130
commit 4b681ef745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: