summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2017-03-01 02:17:33 +0100
committerGitHub <noreply@github.com>2017-03-01 02:17:33 +0100
commit83bd74aef033c0a38aa18b014929bc96bb961080 (patch)
treec778e468d4f00d01488e554585602e4c9c35cd74 /Source/Core
parent30f0ebf95ef0ceb203262b2406b537a56c2fe603 (diff)
parent4c4a96bfc5e178c55770b7747d6f4a737fd76fda (diff)
Merge pull request #4974 from gamemasterplc/master
Widescreen Hack improvement
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index e516c2c63c..2befde1552 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -451,12 +451,12 @@ void VertexShaderManager::SetConstants()
g_fProjectionMatrix[0] = rawProjection[0] * g_ActiveConfig.fAspectRatioHackW;
g_fProjectionMatrix[1] = 0.0f;
- g_fProjectionMatrix[2] = rawProjection[1];
+ g_fProjectionMatrix[2] = rawProjection[1] * g_ActiveConfig.fAspectRatioHackW;
g_fProjectionMatrix[3] = 0.0f;
g_fProjectionMatrix[4] = 0.0f;
g_fProjectionMatrix[5] = rawProjection[2] * g_ActiveConfig.fAspectRatioHackH;
- g_fProjectionMatrix[6] = rawProjection[3];
+ g_fProjectionMatrix[6] = rawProjection[3] * g_ActiveConfig.fAspectRatioHackH;
g_fProjectionMatrix[7] = 0.0f;
g_fProjectionMatrix[8] = 0.0f;