summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderGen.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2015-06-25 12:24:15 +0200
committerJules Blok <jules.blok@gmail.com>2015-06-25 12:24:15 +0200
commit75a9740ab7b9014a8fad665b9f2cb602a4316dc7 (patch)
tree79be7d3f1f9400d04ec07d1a7777a129fdee194a /Source/Core/VideoCommon/VertexShaderGen.cpp
parent30eae0d258d6a4195f7d677f04389b7ce68b0bd7 (diff)
parent8fd5f249fa751613ab387814032a1442d23bbc1f (diff)
Merge branch 'stable'
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderGen.cpp4
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