diff options
| author | skidau <skidau@gmail.com> | 2015-02-23 13:12:55 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2015-02-23 13:12:55 +1100 |
| commit | 593563e16ccadaead1692eb53b42f4693ff176d0 (patch) | |
| tree | 1390cb41d1b1cc635c440c284190269512e02292 /Source | |
| parent | f8e51a1a26b6cd942c9a0e039b8072081b4168b0 (diff) | |
| parent | ff4127cf50c0a7dd460bf738c09aae3a15778703 (diff) | |
Merge pull request #2087 from Armada651/epsilon-3d
VertexShaderManager: Turn the epsilon hack back on for 3D Vision.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index 3f3af37210..c5094f952d 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -458,8 +458,7 @@ void VertexShaderManager::SetConstants() g_fProjectionMatrix[14] = 0.0f; // Hack to fix depth clipping precision issues (such as Sonic Unleashed UI) - // Turn it off for Nvidia 3D Vision, because it can't handle such a projection matrix - g_fProjectionMatrix[15] = (g_ActiveConfig.iStereoMode == STEREO_3DVISION) ? 1.0f : 1.0f + FLT_EPSILON; + g_fProjectionMatrix[15] = 1.0f + FLT_EPSILON; SETSTAT_FT(stats.g2proj_0, g_fProjectionMatrix[0]); SETSTAT_FT(stats.g2proj_1, g_fProjectionMatrix[1]); |
