summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/Render.cpp
diff options
context:
space:
mode:
authorYuriy O'Donnell <yuriyo@gmail.com>2014-10-25 02:46:13 +0200
committerYuriy O'Donnell <yuriyo@gmail.com>2014-11-29 11:11:28 +0100
commit1fe3d07cbdeda459527199bb9837f5f6ce9a2f5b (patch)
treec57a53bdc97f16a8f2b978eaaf10009e4d5c0e6f /Source/Core/VideoBackends/D3D/Render.cpp
parentcc2227fbc3fdb22d19036a7721b30b099190b716 (diff)
D3D: Removed somewhat mysterious comment
It would be good to know which games exactly exhibited the issue.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/Render.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp
index 6705364189..31ab07ddaa 100644
--- a/Source/Core/VideoBackends/D3D/Render.cpp
+++ b/Source/Core/VideoBackends/D3D/Render.cpp
@@ -485,7 +485,6 @@ void Renderer::SetViewport()
Wd = (X + Wd <= GetTargetWidth()) ? Wd : (GetTargetWidth() - X);
Ht = (Y + Ht <= GetTargetHeight()) ? Ht : (GetTargetHeight() - Y);
- // Some games set invalid values for z-min and z-max so fix them to the max and min allowed and let the shaders do this work
D3D11_VIEWPORT vp = CD3D11_VIEWPORT(X, Y, Wd, Ht,
(xfmem.viewport.farZ - xfmem.viewport.zRange) / 16777216.0f,
xfmem.viewport.farZ / 16777216.0f);