hedgewars/SDLh.pas
changeset 12793 575c0de98505
parent 12612 2ffdee246adc
child 12831 1fbc0d5a82d0
--- a/hedgewars/SDLh.pas	Sat Oct 28 07:59:41 2017 +0200
+++ b/hedgewars/SDLh.pas	Sat Oct 28 17:48:54 2017 +0200
@@ -1106,6 +1106,7 @@
 function  SDL_RenderSetViewport(window: PSDL_Window; rect: PSDL_Rect): LongInt; cdecl; external SDLLibName;
 
 function  SDL_GetRelativeMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
+procedure SDL_SetRelativeMouseMode(enabled: Boolean); cdecl; external SDLLibName;
 function  SDL_PixelFormatEnumToMasks(format: TSDL_ArrayByteOrder; bpp: PLongInt; Rmask, Gmask, Bmask, Amask: PLongInt): Boolean; cdecl; external SDLLibName;
 
 procedure SDL_WarpMouseInWindow(window: PSDL_Window; x, y: LongInt); cdecl; external SDLLibName;