diff options
| author | Ray <[email protected]> | 2023-10-29 21:11:40 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-10-29 21:11:40 +0100 |
| commit | ec91b44fb6b097a3a4f664a41683d6aaf6e2b388 (patch) | |
| tree | 84e3a89928e932fba5e1d8920535723dba8c8854 /src/platforms | |
| parent | fc7dcff4a72e3ce9ea970ad4e03cfabed026fbad (diff) | |
| parent | 049a6d475ddb10b81ccd896c05c7c6b878d499d8 (diff) | |
| download | raylib-ec91b44fb6b097a3a4f664a41683d6aaf6e2b388.tar.gz raylib-ec91b44fb6b097a3a4f664a41683d6aaf6e2b388.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'src/platforms')
| -rw-r--r-- | src/platforms/rcore_drm.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/platforms/rcore_drm.c b/src/platforms/rcore_drm.c index 6f459b1a..82701e31 100644 --- a/src/platforms/rcore_drm.c +++ b/src/platforms/rcore_drm.c @@ -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(); |
