fixed input with keyboard and controller at the same time

This commit is contained in:
Sarah Faey 2025-04-18 15:47:07 +02:00
parent d8fa53801b
commit eabeb55115
11 changed files with 95 additions and 68 deletions

View file

@ -72,6 +72,6 @@ SDL_AppResult SDL_AppIterate(void *appstate)
/* This function runs once at shutdown. */
void SDL_AppQuit(void *appstate, SDL_AppResult result)
{
delete appstate;
delete (Game*)appstate;
/* SDL will clean up the window/renderer for us. */
}