瀏覽代碼

Update rcore_drm.c

pull/5247/head
ASHWIN 1 天之前
committed by GitHub
父節點
當前提交
58363eefe0
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 1 次插入9 次删除
  1. +1
    -9
      src/platforms/rcore_drm.c

+ 1
- 9
src/platforms/rcore_drm.c 查看文件

@ -1072,15 +1072,7 @@ const char *GetKeyName(int key)
TRACELOG(LOG_WARNING, "GetKeyName() not implemented on target platform");
return "";
}
// Register all input events
void PollInputEvents(void)
{
CORE.Input.Touch.pointCount = 0; // <-- ADD THIS LINE HERE
// ... the rest of the original code follows
}
CORE.Input.Touch.pointCount = 0;
{
#if defined(SUPPORT_GESTURES_SYSTEM)
// NOTE: Gestures update must be called every frame to reset gestures correctly

Loading…
取消
儲存