mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-06-08 05:56:10 +00:00
Minor API change
This commit is contained in:
parent
dbffbe778b
commit
7f3d91e2e5
|
@ -4536,7 +4536,7 @@ namespace SDL2
|
||||||
/* Set the mouse cursor's position in global screen space */
|
/* Set the mouse cursor's position in global screen space */
|
||||||
/* Only available in 2.0.4 */
|
/* Only available in 2.0.4 */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[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) */
|
/* Enable/Disable relative mouse mode (grabs mouse, rel coords) */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in a new issue