Minor API change

This commit is contained in:
Ethan Lee 2015-07-19 14:31:39 -04:00
parent dbffbe778b
commit 7f3d91e2e5

View file

@ -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)]