Преглед на файлове

Update rcore_drm.c

pull/5247/head
ASHWIN преди 1 ден
committed by GitHub
родител
ревизия
58363eefe0
No known key found for this signature in database GPG ключ 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

Зареждане…
Отказ
Запис