mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #3578 from Armada651/forced-slow-depth
VideoConfig: Replace FastDepthCalc by ForcedSlowDepth.
This commit is contained in:
@ -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
|
||||
// divide, but introduces a floating point round-trip error.
|
||||
out.Write("o.pos.z = o.pos.z * -2.0 - o.pos.w;\n");
|
||||
|
||||
// the next steps of the OGL pipeline are:
|
||||
|
Reference in New Issue
Block a user