Refactored input system for Windows version

This commit is contained in:
Alexey 'Cluster' Avdyukhin 2021-06-08 14:29:42 +03:00 committed by zeromus
parent 2d4f8eb7bd
commit bfbea5c398
1 changed files with 13 additions and 12 deletions

View File

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