1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 13:31:42 +00:00

Fix oversight in depth range initialization from PR #1093 (#1112)

This commit is contained in:
mageven 2020-04-16 08:51:58 +05:30 committed by GitHub
parent 6a94538b6d
commit dfecbbe1f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ namespace Ryujinx.Graphics.Gpu.State
_backingMemory[(int)MethodOffset.RasterizeEnable] = 1;
// Depth ranges.
for (int index = 0; index < 8; index++)
for (int index = 0; index < Constants.TotalViewports; index++)
{
_backingMemory[(int)MethodOffset.ViewportExtents + index * 4 + 2] = 0;
_backingMemory[(int)MethodOffset.ViewportExtents + index * 4 + 3] = 0x3F800000;