mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-19 10:15:45 +01:00
add freeing code to the different modules
This commit is contained in:
@@ -51,8 +51,6 @@ int32_t main(int32_t argc, char** argv) {
|
||||
|
||||
game_free(&gdat);
|
||||
render_free(&rdat);
|
||||
gdat = (gamedata){0};
|
||||
rdat = (renderdata){0};
|
||||
SDL_Quit();
|
||||
|
||||
return get_gamestatus();
|
||||
|
||||
Reference in New Issue
Block a user