Fix drm hang up on exit and mouse input issues (#3484)
This commit is contained in:
parent
09075d515a
commit
049a6d475d
1 changed files with 6 additions and 5 deletions
|
@ -906,6 +906,12 @@ int InitPlatform(void)
|
|||
rlLoadExtensions(eglGetProcAddress);
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// Initialize timming system
|
||||
//----------------------------------------------------------------------------
|
||||
// NOTE: timming system must be initialized before the input events system
|
||||
InitTimer();
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// Initialize input events system
|
||||
//----------------------------------------------------------------------------
|
||||
InitEvdevInput(); // Evdev inputs initialization
|
||||
|
@ -913,11 +919,6 @@ int InitPlatform(void)
|
|||
InitKeyboard(); // Keyboard init (stdin)
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// Initialize timming system
|
||||
//----------------------------------------------------------------------------
|
||||
InitTimer();
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// Initialize storage system
|
||||
//----------------------------------------------------------------------------
|
||||
CORE.Storage.basePath = GetWorkingDirectory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue