fix clear options input
parent
4eb2cb6b09
commit
aab0917603
|
@ -214,7 +214,7 @@ namespace MoonWorks.Graphics
|
||||||
|
|
||||||
public unsafe void Clear(
|
public unsafe void Clear(
|
||||||
in Rect clearRect,
|
in Rect clearRect,
|
||||||
Refresh.ClearOptionsFlags clearOptions,
|
ClearOptionsFlags clearOptions,
|
||||||
in DepthStencilValue depthStencilClearValue,
|
in DepthStencilValue depthStencilClearValue,
|
||||||
params Color[] clearColors
|
params Color[] clearColors
|
||||||
) {
|
) {
|
||||||
|
@ -223,7 +223,7 @@ namespace MoonWorks.Graphics
|
||||||
Device.Handle,
|
Device.Handle,
|
||||||
Handle,
|
Handle,
|
||||||
clearRect.ToRefresh(),
|
clearRect.ToRefresh(),
|
||||||
clearOptions,
|
(Refresh.ClearOptionsFlags)clearOptions,
|
||||||
(IntPtr) colors,
|
(IntPtr) colors,
|
||||||
(uint) clearColors.Length,
|
(uint) clearColors.Length,
|
||||||
depthStencilClearValue.ToRefresh()
|
depthStencilClearValue.ToRefresh()
|
||||||
|
|
Loading…
Reference in New Issue