Fix termination errors
Cleanup for objects destruction and process termination. This is still work in progress, I don't like the way it's handled right now.
This commit is contained in:
1 parent
1b5cc7a79c
commit
5ad0ac7fed
10 files changed
+38
-11
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#include <SDL3/SDL_init.h>
|
||||
#include "graphics/rse_graphics.h"
|
||||
#include "utilities/errors_common.h"
|
||||
#include "utilities/logger.h"
|
||||
@@ -23,6 +24,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
SDL_WaitThread(graphics_task, NULL);
|
||||
SDL_Quit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user