Skip to content

Commit

Permalink
PostProcessing/FX: Fix incorrect draw rect
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jul 3, 2024
1 parent 3c230ba commit d178853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/postprocessing_shader_fx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d178853

Please sign in to comment.