From e02c5157efde0eaad7e41b3ca274fdf0955098e8 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 20 Jan 2014 20:29:45 -0800 Subject: [PATCH] Then I broke DXT3. Fixed DXT3 and DXT5. For real this time. --- src/xenia/gpu/d3d11/d3d11_graphics_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc index f3783e238..1d57ea2ba 100644 --- a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc +++ b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc @@ -1095,7 +1095,7 @@ D3D11GraphicsDriver::TextureInfo D3D11GraphicsDriver::GetTextureInfo( break; case FMT_DXT2_3: case FMT_DXT4_5: - info.format = DXGI_FORMAT_BC3_UNORM; + info.format = (fetch.format == FMT_DXT4_5 ? DXGI_FORMAT_BC3_UNORM : DXGI_FORMAT_BC2_UNORM); info.block_size = 4; info.pitch = 16; info.needs_power_of_two = true;