From 801758fc2f9eea2861ab4abddc56d7a29d8a4982 Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 21 Jan 2014 01:54:54 -0800 Subject: [PATCH] Oops. --- 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 2e635b4b8..1b4b51acb 100644 --- a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc +++ b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc @@ -1316,7 +1316,7 @@ int D3D11GraphicsDriver::FetchTexture2D( uint32_t width = 1 + fetch.size_2d.width; uint32_t height = 1 + fetch.size_2d.height; uint32_t padded_width = info.needs_power_of_two == false ? width : MAX(256, XENEXTPOW2(width)); - uint32_t padded_height = info.needs_power_of_two == false ? height : 256, XENEXTPOW2(height); + uint32_t padded_height = info.needs_power_of_two == false ? height : XENEXTPOW2(height); D3D11_TEXTURE2D_DESC texture_desc; xe_zero_struct(&texture_desc, sizeof(texture_desc));