Remove unused I_GetMouseGrab function

This commit is contained in:
SteelT 2021-09-23 13:45:42 -04:00
parent 923e6f31aa
commit 0f4074f22d
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); 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 /** \brief Sets whether the mouse is grabbed
*/ */
void I_SetMouseGrab(boolean grab); void I_SetMouseGrab(boolean grab);

View file

@ -409,11 +409,6 @@ void I_UpdateMouseGrab(void)
SDLdoGrabMouse(); SDLdoGrabMouse();
} }
boolean I_GetMouseGrab(void)
{
return (boolean)SDL_GetWindowGrab(window);
}
void I_SetMouseGrab(boolean grab) void I_SetMouseGrab(boolean grab)
{ {
if (grab) if (grab)