From 7f3d91e2e58388a5911944703d7da36d66dfb058 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Sun, 19 Jul 2015 14:31:39 -0400 Subject: [PATCH] Minor API change --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index ce0ff09..d14f145 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -4536,7 +4536,7 @@ namespace SDL2 /* Set the mouse cursor's position in global screen space */ /* Only available in 2.0.4 */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void SDL_WarpMouseGlobal(int x, int y); + public static extern int SDL_WarpMouseGlobal(int x, int y); /* Enable/Disable relative mouse mode (grabs mouse, rel coords) */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]