From c02c23bc1616fc14eabd4c52a522a2fd6998c08e Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 22 Jan 2021 13:56:24 -0800 Subject: [PATCH] change BindIndexBuffer --- src/Graphics/CommandBuffer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index 3141394..5a26da7 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -210,8 +210,8 @@ namespace MoonWorks.Graphics public void BindIndexBuffer( Buffer indexBuffer, - uint offset, - IndexElementSize indexElementSize + IndexElementSize indexElementSize, + uint offset = 0 ) { Refresh.Refresh_BindIndexBuffer( Device.Handle,