mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
NvGpuEngine3d: Fix uploading vertex arrays without index buffers. (#173)
This commit is contained in:
parent
46f18af6be
commit
35e695552e
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue