diff options
| author | flacs <tilkax@gmail.com> | 2015-10-17 05:07:55 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-10-17 05:07:55 +0200 |
| commit | dc096d2fe5408254430f2c5b31605d907ffb6901 (patch) | |
| tree | b8bb9f1a96481ec8391dc7b02d8d729506744ef5 /Source/Core/VideoCommon/VertexShaderManager.cpp | |
| parent | d85344bd58afc6594d01d65ed9ef46471a7cf2ed (diff) | |
| parent | c756025902be856e87894e128073192224adab17 (diff) | |
Merge pull request #3176 from lioncash/namespace
Core: Move a global into a namespace
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index 2e06a5f267..8c8f08b154 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -443,9 +443,9 @@ void VertexShaderManager::SetConstants() { bool viewport_is_4_3 = AspectIs4_3(xfmem.viewport.wd, xfmem.viewport.ht); if (AspectIs16_9(rawProjection[2], rawProjection[0]) && viewport_is_4_3) - g_aspect_wide = true; // Projection is 16:9 and viewport is 4:3, we are rendering an anamorphic widescreen picture + Core::g_aspect_wide = true; // Projection is 16:9 and viewport is 4:3, we are rendering an anamorphic widescreen picture else if (AspectIs4_3(rawProjection[2], rawProjection[0]) && viewport_is_4_3) - g_aspect_wide = false; // Project and viewports are both 4:3, we are rendering a normal image. + Core::g_aspect_wide = false; // Project and viewports are both 4:3, we are rendering a normal image. } SETSTAT_FT(stats.gproj_0, g_fProjectionMatrix[0]); |
