From 6d1628eda4b78bfee7eefec1b632953f52a785f5 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Mon, 29 Feb 2016 00:55:51 +0100 Subject: Revert "Merge pull request #3578 from Armada651/forced-slow-depth" This reverts commit e2a1a085b6a9f36b23128872de85da727d231882, reversing changes made to 2aea549eef85ba165672c8355d0e90781d805efd. --- Source/Core/VideoCommon/VertexShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp') diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index feb94bfa5d..9a9a23b5b9 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -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: -- cgit v1.2.3