From 2bda51f5ec82abab18b591f26df30752f3ca2413 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 20 Jan 2014 20:28:42 -0800 Subject: [PATCH] Fixed DXT5. --- 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 23dd200bb..f3783e238 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 = (fetch.format == FMT_DXT4_5 ? DXGI_FORMAT_BC5_UNORM : DXGI_FORMAT_BC3_UNORM); + info.format = DXGI_FORMAT_BC3_UNORM; info.block_size = 4; info.pitch = 16; info.needs_power_of_two = true;