Skip to content

Commit

Permalink
Pass typeof(SKPaint).Assembly as well
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkatz6 committed Jun 30, 2023
1 parent ce4a813 commit 1489fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Skia/Avalonia.Skia/Gpu/Metal/SkiaMetalApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public SkiaMetalApi()
// Make sure that skia is loaded
GC.KeepAlive(new SKPaint());

var dll = NativeLibraryEx.Load("libSkiaSharp");
var dll = NativeLibraryEx.Load("libSkiaSharp", typeof(SKPaint).Assembly);

IntPtr address;

Expand Down

0 comments on commit 1489fcc

Please sign in to comment.