From 5df88baf4ba31d4a4841e4cc0ddfab4c5769c321 Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Tue, 2 Nov 2021 15:13:10 -0400 Subject: [PATCH] Add missing EntryPoint for SDL_AndroidShowToast --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 1148d9a..42d4fdf 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -8137,7 +8137,7 @@ namespace SDL2 } /* Only available in 2.0.16 or higher. */ - [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + [DllImport(nativeLibName, EntryPoint = "SDL_AndroidShowToast", CallingConvention = CallingConvention.Cdecl)] private static unsafe extern int INTERNAL_SDL_AndroidShowToast( byte* message, int duration,