From d178853392a09e433a0765ca1909f95b69c1c1f8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 4 Jul 2024 00:32:22 +1000 Subject: [PATCH] PostProcessing/FX: Fix incorrect draw rect --- src/util/postprocessing_shader_fx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/postprocessing_shader_fx.cpp b/src/util/postprocessing_shader_fx.cpp index fc7659c69..3d7893ddd 100644 --- a/src/util/postprocessing_shader_fx.cpp +++ b/src/util/postprocessing_shader_fx.cpp @@ -1498,7 +1498,7 @@ bool PostProcessing::ReShadeFXShader::Apply(GPUTexture* input_color, GPUTexture* m_frame_count++; // Reshade always draws at full size. - g_gpu_device->SetViewportAndScissor(final_rect); + g_gpu_device->SetViewportAndScissor(GSVector4i(0, 0, target_width, target_height)); if (m_uniforms_size > 0) {