Skip to content
Snippets Groups Projects
Commit 8b85275f authored by deuce's avatar deuce
Browse files

Call sdl.Quit() after an SDL_QUIT message is received.

parent 28f3ce19
No related branches found
No related tags found
No related merge requests found
......@@ -1453,6 +1453,7 @@ int sdl_video_event_thread(void *data)
}
break;
case SDL_QUIT:
sdl.Quit();
return(sdl_exitcode);
case SDL_VIDEORESIZE:
if(ev.resize.w > 0 && ev.resize.h > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment