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:
parent
33972f2072
commit
cb4dd444b4
@ -993,6 +993,9 @@ main (int argc, char * argv[])
|
||||
break;
|
||||
}
|
||||
|
||||
if (g_renderer)
|
||||
SDL_DestroyRenderer (g_renderer);
|
||||
|
||||
if (g_window)
|
||||
SDL_DestroyWindow (g_window);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user