Fixed wrong EntryPoint for preprocess_canny

This commit is contained in:
Darth Affe 2024-03-07 23:42:50 +01:00
parent c637945707
commit 037bdab8aa

View File

@ -132,7 +132,7 @@ internal unsafe partial class Native
[MarshalAs(UnmanagedType.LPStr)] string output_path,
sd_type_t output_type);
[LibraryImport(LIB_NAME, EntryPoint = "convert")]
[LibraryImport(LIB_NAME, EntryPoint = "preprocess_canny")]
internal static partial byte* preprocess_canny(byte* img,
int width,
int height,