Skip to content

Commit

Permalink
Fixed wrong EntryPoint for preprocess_canny
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthAffe committed Mar 7, 2024
1 parent c637945 commit 037bdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StableDiffusion.NET/Native.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ internal struct sd_image_t
[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,
Expand Down

0 comments on commit 037bdab

Please sign in to comment.