Fix touchid assertion faliure on emscripten

This commit is contained in:
Cyao authored and Sam Lantinga committed 2024-05-23 10:30:24 -07:00
1 parent 66fbbdf46a
commit 4022682c28
1 file changed
+1 -1
+1 -1
View File
@@ -762,7 +762,7 @@ static EM_BOOL Emscripten_HandleTouch(int eventType, const EmscriptenTouchEvent
continue;
}
id = touchEvent->touches[i].identifier;
id = touchEvent->touches[i].identifier + 1;
if (client_w <= 1) {
x = 0.5f;
} else {