fix clear options input

pull/14/head
cosmonaut 2021-02-08 19:22:27 -08:00
parent 4eb2cb6b09
commit aab0917603
1 changed files with 2 additions and 2 deletions

View File

@ -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()