summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderGen.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2015-06-24 23:16:53 +0200
committerJules Blok <jules.blok@gmail.com>2015-06-24 23:16:53 +0200
commitdbfdbf7dbdbb2740f55d37b4514700c27ee8894b (patch)
tree0b83e427986cf9d9fbb1e62c9411926fdad97b01 /Source/Core/VideoCommon/VertexShaderGen.cpp
parent743296f1c4bbc19a43e473f3907d6bd1e21f2c0e (diff)
D3D: Cosmetics.
Merge two cases which should've already been merged.
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