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