[dx11] Correctly map BC1 images to DXGI type
@@ -95,8 +95,8 @@ pub fn map_format(format: Format) -> Option<DXGI_FORMAT> {
D16Unorm => DXGI_FORMAT_D16_UNORM,
D32Sfloat => DXGI_FORMAT_D32_FLOAT,
D32SfloatS8Uint => DXGI_FORMAT_D32_FLOAT_S8X24_UINT,
- Bc1RgbUnorm => DXGI_FORMAT_BC1_UNORM,
- Bc1RgbSrgb => DXGI_FORMAT_BC1_UNORM_SRGB,
+ Bc1RgbUnorm | Bc1RgbaUnorm => DXGI_FORMAT_BC1_UNORM,
+ Bc1RgbSrgb | Bc1RgbaSrgb => DXGI_FORMAT_BC1_UNORM_SRGB,
Bc2Unorm => DXGI_FORMAT_BC2_UNORM,
Bc2Srgb => DXGI_FORMAT_BC2_UNORM_SRGB,
Bc3Unorm => DXGI_FORMAT_BC3_UNORM,
