diff options
| author | Techjar <tecknojar@gmail.com> | 2018-06-25 00:48:57 -0400 |
|---|---|---|
| committer | Techjar <tecknojar@gmail.com> | 2018-06-25 00:48:57 -0400 |
| commit | 25bfee2233f21551f90e570afc1fa2dc9a5e9443 (patch) | |
| tree | b1f66847c0dde38ec03f9a0aa3c0d0dec5766041 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 2cfdf89898c4689884fbffb1c693ec24a7083f66 (diff) | |
VideoCommon: Fix auto IR being very overzealous
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index 98addff6b2..25730f98f4 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/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 |
