GRAB not supported by older versions.
This commit is contained in:
parent
6ef9261016
commit
ffd3b9562b
1 changed files with 2 additions and 0 deletions
|
@ -801,6 +801,7 @@ global void RealizeVideoMemory(void)
|
|||
*/
|
||||
global void ToggleGrabMouse(void)
|
||||
{
|
||||
#ifdef SDL_GRAB_ON
|
||||
static int grabbed;
|
||||
|
||||
if( grabbed ) {
|
||||
|
@ -811,6 +812,7 @@ global void ToggleGrabMouse(void)
|
|||
grabbed=1;
|
||||
}
|
||||
}
|
||||
#endif // SDL_GRAB_ON
|
||||
}
|
||||
|
||||
#endif // } USE_SDL
|
||||
|
|
Loading…
Add table
Reference in a new issue