PixelShaderManager: Use signed integers for the depth range parameters.

This commit is contained in:
Jules Blok 2016-08-23 10:08:13 +02:00
parent a8a9348913
commit f7987017a0

View File

@ -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;
}