mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
PixelShaderManager: Use signed integers for the depth range parameters.
This commit is contained in:
parent
a8a9348913
commit
f7987017a0
@ -94,8 +94,8 @@ void PixelShaderManager::SetConstants()
|
|||||||
|
|
||||||
if (s_bViewPortChanged)
|
if (s_bViewPortChanged)
|
||||||
{
|
{
|
||||||
constants.zbias[1][0] = (u32)xfmem.viewport.farZ;
|
constants.zbias[1][0] = (s32)xfmem.viewport.farZ;
|
||||||
constants.zbias[1][1] = (u32)xfmem.viewport.zRange;
|
constants.zbias[1][1] = (s32)xfmem.viewport.zRange;
|
||||||
dirty = true;
|
dirty = true;
|
||||||
s_bViewPortChanged = false;
|
s_bViewPortChanged = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user