summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorflacs <tilkax@gmail.com>2015-10-17 05:07:55 +0200
committerflacs <tilkax@gmail.com>2015-10-17 05:07:55 +0200
commitdc096d2fe5408254430f2c5b31605d907ffb6901 (patch)
treeb8bb9f1a96481ec8391dc7b02d8d729506744ef5 /Source/Core/VideoCommon/RenderBase.cpp
parentd85344bd58afc6594d01d65ed9ef46471a7cf2ed (diff)
parentc756025902be856e87894e128073192224adab17 (diff)
Merge pull request #3176 from lioncash/namespace
Core: Move a global into a namespace
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index a35e3fe94e..75d646adc7 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -431,7 +431,7 @@ void Renderer::UpdateDrawRectangle(int backbuffer_width, int backbuffer_height)
// Don't know if there is a better place for this code so there isn't a 1 frame delay
if (g_ActiveConfig.bWidescreenHack)
{
- float source_aspect = VideoInterface::GetAspectRatio(g_aspect_wide);
+ float source_aspect = VideoInterface::GetAspectRatio(Core::g_aspect_wide);
float target_aspect;
switch (g_ActiveConfig.iAspectRatio)
@@ -485,7 +485,7 @@ void Renderer::UpdateDrawRectangle(int backbuffer_width, int backbuffer_height)
Ratio = (WinWidth / WinHeight) / VideoInterface::GetAspectRatio(false);
break;
default:
- Ratio = (WinWidth / WinHeight) / VideoInterface::GetAspectRatio(g_aspect_wide);
+ Ratio = (WinWidth / WinHeight) / VideoInterface::GetAspectRatio(Core::g_aspect_wide);
break;
}
@@ -521,7 +521,7 @@ void Renderer::UpdateDrawRectangle(int backbuffer_width, int backbuffer_height)
Ratio = (4.0f / 3.0f) / VideoInterface::GetAspectRatio(false);
break;
default:
- Ratio = (!g_aspect_wide ? (4.0f / 3.0f) : (16.0f / 9.0f)) / VideoInterface::GetAspectRatio(g_aspect_wide);
+ Ratio = (!Core::g_aspect_wide ? (4.0f / 3.0f) : (16.0f / 9.0f)) / VideoInterface::GetAspectRatio(Core::g_aspect_wide);
break;
}
if (Ratio <= 1.0f)