diff --git a/Ryujinx.HLE/Gpu/NvGpuEngine3d.cs b/Ryujinx.HLE/Gpu/NvGpuEngine3d.cs index b3f1330b7..deb622fef 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;