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

Remove unused I_GetMouseGrab function

See merge request STJr/SRB2!1628
This commit is contained in:
SteelT 2021-10-26 14:29:04 +00:00
commit c9ff904960
2 changed files with 0 additions and 9 deletions

View file

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

View file

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