1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 19:56:38 +00:00

NvGpuEngine3d: Fix uploading vertex arrays without index buffers. (#173)

This commit is contained in:
Jules Blok 2018-06-18 15:59:03 +02:00 committed by gdkchan
parent 46f18af6be
commit 35e695552e

View file

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