mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 11:40:46 -07:00
NvGpuEngine3d: Fix uploading vertex arrays without index buffers. (#173)
This commit is contained in:
@ -345,7 +345,7 @@ namespace Ryujinx.HLE.Gpu
|
|||||||
throw new InvalidOperationException();
|
throw new InvalidOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IndexSize != 0)
|
if (IndexCount != 0)
|
||||||
{
|
{
|
||||||
int IbSize = IndexCount * IndexSize;
|
int IbSize = IndexCount * IndexSize;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user