From 44ada0c5147e4e3c5865ef896f438397a0d687f6 Mon Sep 17 00:00:00 2001 From: daco65 Date: Mon, 2 Mar 2009 21:21:42 +0000 Subject: [PATCH] i think i forgot something git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2528 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/VertexShaderManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp index 9bcdaf4a5c..5afc5a37f0 100644 --- a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp @@ -224,8 +224,8 @@ void VertexShaderManager::SetConstants(bool proj_hax_1, bool proj_hax_2) g_fProjectionMatrix[11] = -(1.0f - xfregs.rawProjection[5]); // R844 Hack - if (!proj_hax_1 && proj_hax_2) - g_fProjectionMatrix[11] = xfregs.rawProjection[5]; + //if (!proj_hax_1 && proj_hax_2) + // g_fProjectionMatrix[11] = xfregs.rawProjection[5]; //-------------------------------- g_fProjectionMatrix[12] = 0.0f; @@ -282,8 +282,8 @@ void VertexShaderManager::SetConstants(bool proj_hax_1, bool proj_hax_2) //-------------------------------- - g_fProjectionMatrix[12] = 0; - g_fProjectionMatrix[13] = 0; + g_fProjectionMatrix[12] = 0.0f; + g_fProjectionMatrix[13] = 0.0f; g_fProjectionMatrix[14] = 0.0f; g_fProjectionMatrix[15] = 1.0f;