diff options
| author | daco65 <daco65@gmail.com> | 2009-03-02 21:21:42 +0000 |
|---|---|---|
| committer | daco65 <daco65@gmail.com> | 2009-03-02 21:21:42 +0000 |
| commit | 44ada0c5147e4e3c5865ef896f438397a0d687f6 (patch) | |
| tree | 17fb9377801c188eac91c4e6b2773680f98ec300 /Source/Core/VideoCommon | |
| parent | 4cb7f2f4907fa2089308900d80893a8cd604db5b (diff) | |
i think i forgot something
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2528 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexShaderManager.cpp | 8 |
1 files 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; |
