Revert "Merge pull request #3578 from Armada651/forced-slow-depth"

This reverts commit e2a1a085b6, reversing
changes made to 2aea549eef.
This commit is contained in:
Jules Blok
2016-02-29 00:55:51 +01:00
parent 961901daae
commit 6d1628eda4
23 changed files with 56 additions and 30 deletions

View File

@ -333,7 +333,7 @@ static T GenerateVertexShader(API_TYPE api_type)
else // OGL
{
// this results in a scale from -1..0 to -1..1 after perspective
// divide, but introduces a floating point round-trip error.
// divide
out.Write("o.pos.z = o.pos.z * -2.0 - o.pos.w;\n");
// the next steps of the OGL pipeline are: