diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | lzr.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,4 @@ 005 *.o *.d +tags @@ -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; |