mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-12 13:28:35 +00:00
Fixed wrong EntryPoint for preprocess_canny
This commit is contained in:
parent
c637945707
commit
037bdab8aa
@ -132,7 +132,7 @@ internal unsafe partial class Native
|
|||||||
[MarshalAs(UnmanagedType.LPStr)] string output_path,
|
[MarshalAs(UnmanagedType.LPStr)] string output_path,
|
||||||
sd_type_t output_type);
|
sd_type_t output_type);
|
||||||
|
|
||||||
[LibraryImport(LIB_NAME, EntryPoint = "convert")]
|
[LibraryImport(LIB_NAME, EntryPoint = "preprocess_canny")]
|
||||||
internal static partial byte* preprocess_canny(byte* img,
|
internal static partial byte* preprocess_canny(byte* img,
|
||||||
int width,
|
int width,
|
||||||
int height,
|
int height,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user