From 037bdab8aa8e99386b90ae1f116bfc30d75cf91b Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Thu, 7 Mar 2024 23:42:50 +0100 Subject: [PATCH] Fixed wrong EntryPoint for preprocess_canny --- StableDiffusion.NET/Native.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StableDiffusion.NET/Native.cs b/StableDiffusion.NET/Native.cs index eff2397..56438c4 100644 --- a/StableDiffusion.NET/Native.cs +++ b/StableDiffusion.NET/Native.cs @@ -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,