Переглянути джерело

Update rcore_drm.c

pull/5247/head
ASHWIN 1 день тому
committed by GitHub
джерело
коміт
58363eefe0
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 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

Завантаження…
Відмінити
Зберегти