mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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