Permalink
Browse files

VideoCommon: Fix auto IR being very overzealous

  • Loading branch information...
Techjar committed Jun 25, 2018
1 parent 2cfdf89 commit 25bfee2233f21551f90e570afc1fa2dc9a5e9443
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/VideoCommon/RenderBase.cpp
@@ -146,7 +146,7 @@ bool Renderer::CalculateTargetSize()
{
// Set a scale based on the window size
int width = EFB_WIDTH * m_target_rectangle.GetWidth() / m_last_xfb_width;
int height = EFB_HEIGHT * m_target_rectangle.GetWidth() / m_last_xfb_height;
int height = EFB_HEIGHT * m_target_rectangle.GetHeight() / m_last_xfb_height;
m_efb_scale = std::max((width - 1) / EFB_WIDTH + 1, (height - 1) / EFB_HEIGHT + 1);
}
else

0 comments on commit 25bfee2

Please sign in to comment.