diff --git a/lib/RefreshCS b/lib/RefreshCS index 995a54f..b92ecb6 160000 --- a/lib/RefreshCS +++ b/lib/RefreshCS @@ -1 +1 @@ -Subproject commit 995a54fa2df82946441c9ec6446d7cd12236f8f7 +Subproject commit b92ecb60e3f60c3cce694477cbde381449759c58 diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index d11ec6e..ce7c9ff 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -1297,12 +1297,13 @@ namespace MoonWorks.Graphics AssertGraphicsPipelineBound(); #endif - Refresh.Refresh_DrawIndexedPrimitives( + Refresh.Refresh_DrawInstancedPrimitives( Device.Handle, Handle, baseVertex, startIndex, - primitiveCount + primitiveCount, + 1 ); }