mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
PixelShaderManager: Use signed integers for the depth range parameters.
This commit is contained in:
parent
a8a9348913
commit
f7987017a0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue