From 1091c171b24df6db3d55d30ac8c4a891d516b5e3 Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 21 Jan 2014 18:53:35 -0800 Subject: [PATCH] Maybe this will work? --- src/xenia/gpu/d3d11/d3d11_graphics_driver.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc index 77f0ce358..81863a9be 100644 --- a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc +++ b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc @@ -1346,15 +1346,15 @@ int D3D11GraphicsDriver::FetchTexture2D( // must be 32x32 input_width = XEROUNDUP((logical_width + 31) & ~31, 256); input_height = (logical_height + 31) & ~31; - output_width = input_width; - output_height = input_height; + output_width = logical_width; + output_height = logical_height; } else { // must be 128x128 input_width = (logical_width + 127) & ~127; input_height = (logical_height + 127) & ~127; - output_width = input_width; - output_height = input_height; + output_width = XENEXTPOW2(logical_width); + output_height = XENEXTPOW2(logical_height); } D3D11_TEXTURE2D_DESC texture_desc;