mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
The released version of SDL2 (According to the OS X framework) replaced KMOD_META with KMOD_GUI.
This commit is contained in:
parent
2465c87844
commit
e306347577
1 changed files with 1 additions and 1 deletions
|
@ -3558,7 +3558,7 @@ void Core::pollEvents()
|
|||
case SDL_KEYDOWN:
|
||||
{
|
||||
#if __APPLE__
|
||||
if ((event.key.keysym.sym == SDLK_q) && (event.key.keysym.mod & KMOD_META))
|
||||
if ((event.key.keysym.sym == SDLK_q) && (event.key.keysym.mod & KMOD_GUI))
|
||||
#else
|
||||
if ((event.key.keysym.sym == SDLK_F4) && (event.key.keysym.mod & KMOD_ALT))
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue