prog
This commit is contained in:
@ -10,6 +10,8 @@ using namespace Dawn;
|
||||
int32_t main(int32_t argc, char **args) {
|
||||
int32_t result;
|
||||
|
||||
memoryInit();
|
||||
|
||||
// Create the host
|
||||
auto host = new DawnHost();
|
||||
auto game = new DawnGame(host);
|
||||
@ -40,9 +42,7 @@ int32_t main(int32_t argc, char **args) {
|
||||
delete game;
|
||||
delete host;
|
||||
|
||||
#if DAWN_DEBUG_BUILD
|
||||
assertTrue(dawnAllocatedItemCount == 0, "DawnHostOSX: Failed to free all allocated items.");
|
||||
#endif
|
||||
memoryDispose();
|
||||
|
||||
// Success
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user