mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
D3D: Removed somewhat mysterious comment
It would be good to know which games exactly exhibited the issue.
This commit is contained in:
parent
cc2227fbc3
commit
1fe3d07cbd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user