Permalink
Browse files

Merge pull request #7167 from Techjar/patch-437

VideoCommon: Fix auto IR being very overzealous
  • Loading branch information...
stenzek committed Jun 25, 2018
2 parents 86edf7f + 25bfee2 commit 2debe9e9d19bcd701558994ad496bc4301e40e34
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 2debe9e

Please sign in to comment.