diff options
| author | Jules Blok <jules.blok@gmail.com> | 2015-06-25 12:06:56 +0200 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2015-06-25 12:06:56 +0200 |
| commit | 8fd5f249fa751613ab387814032a1442d23bbc1f (patch) | |
| tree | 55d4156875e4960b31a7600df1f2438c475a0f6e /Source/Core/VideoCommon/VertexShaderGen.cpp | |
| parent | 0034492151f1294098eae4206fb40ea7aa2e7912 (diff) | |
| parent | dbfdbf7dbdbb2740f55d37b4514700c27ee8894b (diff) | |
Merge pull request #2656 from Armada651/ogl-inv-depth
OGL: Allow inverted depth ranges.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderGen.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index 084ac48aaf..97ac15e887 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -383,10 +383,6 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ { out.Write("o.pos.z = -o.pos.z;\n"); } - else if (api_type == API_D3D) - { - out.Write("o.pos.z = -o.pos.z;\n"); - } else // OGL { // this results in a scale from -1..0 to -1..1 after perspective |
