Skip to content

Commit d8a8544

Browse files
committed
fix: fix broken clipboard due to incorrect function load
1 parent f553b12 commit d8a8544

File tree

1 file changed

+1
-1
lines changed
  • Intersect.Client.Core/MonoGame/NativeInterop

1 file changed

+1
-1
lines changed

Intersect.Client.Core/MonoGame/NativeInterop/Sdl2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static unsafe string SDL_GetError()
3636
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
3737
private unsafe delegate void SDL_free_d(void* ptr);
3838

39-
private static SDL_free_d? SDL_free_f = Loader.Functions.LoadFunction<SDL_free_d>(nameof(SDL_free_f));
39+
private static SDL_free_d? SDL_free_f = Loader.Functions.LoadFunction<SDL_free_d>(nameof(SDL_free));
4040

4141
private static unsafe void SDL_free(void* ptr) => SDL_free_f!(ptr);
4242

0 commit comments

Comments
 (0)