From e93e222c52870c77483cbd974331eaa77a106968 Mon Sep 17 00:00:00 2001 From: lif <> Date: Mon, 16 Dec 2024 02:11:15 -0800 Subject: [PATCH] oop lol --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index e49fef4..1158524 100644 --- a/main.c +++ b/main.c @@ -421,7 +421,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) { switch (event->type) { case SDL_EVENT_QUIT: SDL_Log("Quit!"); - return false; + return SDL_APP_SUCCESS; case SDL_EVENT_KEY_DOWN: switch (event->key.key) { @@ -444,6 +444,8 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) { default: break; } + + return SDL_APP_CONTINUE; } switch (event->type) {