DrawIndexedPrimitives calls DrawInstancedPrimitives

sdl2_gpu
cosmonaut 2024-03-13 09:44:59 -07:00
parent 39dc2fb7f4
commit cc7cae9d6b
2 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 995a54fa2df82946441c9ec6446d7cd12236f8f7
Subproject commit b92ecb60e3f60c3cce694477cbde381449759c58

View File

@ -1297,12 +1297,13 @@ namespace MoonWorks.Graphics
AssertGraphicsPipelineBound();
#endif
Refresh.Refresh_DrawIndexedPrimitives(
Refresh.Refresh_DrawInstancedPrimitives(
Device.Handle,
Handle,
baseVertex,
startIndex,
primitiveCount
primitiveCount,
1
);
}