Reverted init order back, crashes on release build

This commit is contained in:
Alexey 'Cluster' Avdyukhin 2021-06-08 16:15:58 +03:00 committed by zeromus
parent bfbea5c398
commit 232394ba87
1 changed files with 1 additions and 2 deletions

View File

@ -827,6 +827,7 @@ int main(int argc,char *argv[])
}
}
CreateMainWindow();
if (!InitDInput())
{
@ -840,8 +841,6 @@ int main(int argc,char *argv[])
return 1;
}
CreateMainWindow();
debugSystem = new DebugSystem();
debugSystem->init();