瀏覽代碼

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

pull/3486/head
ubkp 1 年之前
committed by GitHub
父節點
當前提交
049a6d475d
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 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();

Loading…
取消
儲存