1
0
Fork 0
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:
C.W. Betts 2013-09-23 01:12:36 -06:00
parent 2465c87844
commit e306347577

View file

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