Projection Matrix fix, allows PSO to work. If it breaks any games, Tell me. I didn't see any broken ones though. Why was it doing this in the first place? DX does it this new way as well >>

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@691 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2008-09-25 16:31:16 +00:00
parent 96cbb39cd8
commit c1b340feb5
1 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ void VertexShaderMngr::SetConstants(VERTEXSHADER& vs)
g_fProjectionMatrix[8] = 0.0f;
g_fProjectionMatrix[9] = 0.0f;
g_fProjectionMatrix[10] = -(1-rawProjection[4]);
g_fProjectionMatrix[10] = rawProjection[4];
g_fProjectionMatrix[11] = rawProjection[5];
g_fProjectionMatrix[12] = 0.0f;
@ -365,7 +365,7 @@ void VertexShaderMngr::SetConstants(VERTEXSHADER& vs)
g_fProjectionMatrix[8] = 0.0f;
g_fProjectionMatrix[9] = 0.0f;
g_fProjectionMatrix[10] = rawProjection[4];
g_fProjectionMatrix[11] = -(-1 - rawProjection[5]);
g_fProjectionMatrix[11] = rawProjection[5];
g_fProjectionMatrix[12] = 0;
g_fProjectionMatrix[13] = 0;