diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index 6cc414e..cb13996 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -214,7 +214,7 @@ namespace MoonWorks.Graphics public unsafe void Clear( in Rect clearRect, - Refresh.ClearOptionsFlags clearOptions, + ClearOptionsFlags clearOptions, in DepthStencilValue depthStencilClearValue, params Color[] clearColors ) { @@ -223,7 +223,7 @@ namespace MoonWorks.Graphics Device.Handle, Handle, clearRect.ToRefresh(), - clearOptions, + (Refresh.ClearOptionsFlags)clearOptions, (IntPtr) colors, (uint) clearColors.Length, depthStencilClearValue.ToRefresh()