Skip to content
Snippets Groups Projects
Commit c9ff9049 authored by SteelT's avatar SteelT
Browse files

Merge branch 'remove-unused-function' into 'next'

Remove unused I_GetMouseGrab function

See merge request !1628
parents 923e6f31 0f4074f2
No related branches found
No related tags found
1 merge request!1628Remove unused I_GetMouseGrab function
......@@ -318,10 +318,6 @@ void I_RegisterSysCommands(void);
*/
void I_GetCursorPosition(INT32 *x, INT32 *y);
/** \brief Returns whether the mouse is grabbed
*/
boolean I_GetMouseGrab(void);
/** \brief Sets whether the mouse is grabbed
*/
void I_SetMouseGrab(boolean grab);
......
......@@ -409,11 +409,6 @@ void I_UpdateMouseGrab(void)
SDLdoGrabMouse();
}
boolean I_GetMouseGrab(void)
{
return (boolean)SDL_GetWindowGrab(window);
}
void I_SetMouseGrab(boolean grab)
{
if (grab)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment