diff --git a/Ryujinx.HLE/Gpu/NvGpuEngine3d.cs b/Ryujinx.HLE/Gpu/NvGpuEngine3d.cs index b3f1330b..deb622fe 100644 --- a/Ryujinx.HLE/Gpu/NvGpuEngine3d.cs +++ b/Ryujinx.HLE/Gpu/NvGpuEngine3d.cs @@ -345,7 +345,7 @@ namespace Ryujinx.HLE.Gpu throw new InvalidOperationException(); } - if (IndexSize != 0) + if (IndexCount != 0) { int IbSize = IndexCount * IndexSize;