diff options
Diffstat (limited to 'lzr.c')
-rw-r--r-- | lzr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -471,6 +471,8 @@ bool LZR_PollEvent(LZR_Event *e) _bind_menu(); if (se.key.keysym.scancode == SCODE_FULLSCREEN) LZR_ToggleFullscreen(); + if (se.key.keysym.scancode == SDL_SCANCODE_ESCAPE) + should_quit = true; const int b = _scode_to_button(se.key.keysym.scancode); if (se.key.repeat || b < 0) break; |