From 9edb2d1c97f4a38dd3d6d87298d6c604defa4fc8 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Thu, 1 Jun 2023 16:20:43 -0700 Subject: [PATCH] change SetTextureDataYUV --- src/Refresh.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index c123f90..580e39b 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -717,8 +717,13 @@ namespace RefreshCS uint yHeight, uint uvWidth, uint uvHeight, - IntPtr data, - uint dataLength + IntPtr yDataPtr, + IntPtr uDataPtr, + IntPtr vDataPtr, + uint yDataLength, + uint uvDataLength, + uint yStride, + uint uvStride ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]