Browse Source

Fix #3323

pull/3325/head
Ray 1 year ago
parent
commit
b9acbbbc66
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/rcore.c

+ 4
- 4
src/rcore.c View File

@ -6966,10 +6966,10 @@ static void *EventThread(void *arg)
// Update touch point count // Update touch point count
CORE.Input.Touch.pointCount = 0; CORE.Input.Touch.pointCount = 0;
if (CORE.Input.Touch.position[0].x >= 0) CORE.Input.Touch.pointCount++;
k">if (CORE.Input.Touch.position[1].x >= 0) CORE.Input.Touch.pointCount++;
if (CORE.Input.Touch.position[mi">2].x >= 0) CORE.Input.Touch.pointCount++;
k">if (CORE.Input.Touch.position[3].x >= 0) CORE.Input.Touch.pointCount++;
for (int i = 0; i < MAX_TOUCH_POINTS; i++)
p">{
if (CORE.Input.Touch.position[n">i].x >= 0) CORE.Input.Touch.pointCount++;
p">}
#if defined(SUPPORT_GESTURES_SYSTEM) // PLATFORM_DRM #if defined(SUPPORT_GESTURES_SYSTEM) // PLATFORM_DRM
if (gestureUpdate) if (gestureUpdate)

Loading…
Cancel
Save