mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
VideoBackends: Allow the viewport to use the full depth range.
This commit is contained in:
parent
e70c9b44f5
commit
ef1dfa8bcb
4 changed files with 5 additions and 5 deletions
|
@ -96,8 +96,8 @@ void PixelShaderManager::SetConstants()
|
|||
|
||||
if (s_bViewPortChanged)
|
||||
{
|
||||
constants.zbias[1][0] = MathUtil::Clamp<u32>((u32)xfmem.viewport.farZ, 0, 0xFFFFFF);
|
||||
constants.zbias[1][1] = MathUtil::Clamp<u32>((u32)xfmem.viewport.zRange, 0, 0xFFFFFF);
|
||||
constants.zbias[1][0] = (u32)xfmem.viewport.farZ;
|
||||
constants.zbias[1][1] = (u32)xfmem.viewport.zRange;
|
||||
dirty = true;
|
||||
s_bViewPortChanged = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue