From 369ced4f80f0e7de22fa806b547831154a23efad Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 22 Jan 2021 14:16:18 -0800 Subject: [PATCH] update Clear call --- src/Refresh.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index fe48cb6..930319b 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -650,10 +650,9 @@ namespace RefreshCS IntPtr commandBuffer, in Rect clearRect, Refresh.ClearOptionsFlags clearOptions, - in Color[] colors, + IntPtr colors, uint colorCount, - float depth, - int stencil + DepthStencilValue depthStencilValue ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]