From ec3e4d726b378dc3117dbdf40ddffc5df9193c24 Mon Sep 17 00:00:00 2001 From: Junrou Nishida Date: Sun, 10 Dec 2023 23:47:15 +0900 Subject: [PATCH] fix: get pixel data pointer correctly (#1061) --- .../Scripts/PInvoke/NativeMethods/Framework/Format/Image_Safe.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/NativeMethods/Framework/Format/Image_Safe.cs b/Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/NativeMethods/Framework/Format/Image_Safe.cs index 5f09657ec..e0de89126 100644 --- a/Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/NativeMethods/Framework/Format/Image_Safe.cs +++ b/Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/NativeMethods/Framework/Format/Image_Safe.cs @@ -36,7 +36,6 @@ internal static partial class SafeNativeMethods #region PixelWriteLock [Pure, DllImport(MediaPipeLibrary, ExactSpelling = true)] - [return: MarshalAs(UnmanagedType.I1)] public static extern IntPtr mp_PixelWriteLock__Pixels(IntPtr pixelWriteLock); #endregion }