1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix renderer memleak

This commit is contained in:
Mathieu Schroeter 2017-11-26 21:57:04 +01:00
parent 33972f2072
commit cb4dd444b4

View File

@ -993,6 +993,9 @@ main (int argc, char * argv[])
break;
}
if (g_renderer)
SDL_DestroyRenderer (g_renderer);
if (g_window)
SDL_DestroyWindow (g_window);