NvGpuEngine3d: Fix uploading vertex arrays without index buffers.

This commit is contained in:
Jules Blok 2018-06-18 09:53:22 +02:00
parent 46f18af6be
commit 2d728eefc0

View file

@ -345,7 +345,7 @@ namespace Ryujinx.HLE.Gpu
throw new InvalidOperationException();
}
if (IndexSize != 0)
if (IndexCount != 0)
{
int IbSize = IndexCount * IndexSize;