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,20 +827,21 @@ int main(int argc,char *argv[])
}
}
if (!InitDInput())
{
do_exit();
return 1;
}
if (!DriverInitialize())
{
do_exit();
return 1;
}
CreateMainWindow();
if(!InitDInput())
{
do_exit();
return 1;
}
if(!DriverInitialize())
{
do_exit();
return 1;
}
debugSystem = new DebugSystem();
debugSystem->init();