Просмотр исходного кода

Fix drm hang up on exit and mouse input issues (#3484)

pull/3486/head
ubkp 2 лет назад
committed by GitHub
Родитель
Сommit
049a6d475d
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 6 добавлений и 5 удалений
  1. +6
    -5
      src/platforms/rcore_drm.c

+ 6
- 5
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();

Загрузка…
Отмена
Сохранить