Эх сурвалжийг харах

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

Jules Blok 7 жил өмнө
parent
commit
35e695552e

+ 1 - 1
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;