sdl_runtime_compiler git · main
SDL3 game for running and compiling code at runtime
C++ 72.3% C 26.2%git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gzRemove ESC to exit
src/states/menu_state.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/states/menu_state.cpp b/src/states/menu_state.cpp index 127a956..1072299 100644 --- a/src/states/menu_state.cpp +++ b/src/states/menu_state.cpp @@ -207,12 +207,14 @@ MenuState::handle_Event(Game& game, const SDL_Event& e) break; } + /* case SDLK_ESCAPE: { SDL_Event quit_event; quit_event.type = SDL_EVENT_QUIT; SDL_PushEvent(&quit_event); break; } + */ } }