mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 22:35:59 +00:00
Fix touchid assertion faliure on emscripten
This commit is contained in:
@@ -762,7 +762,7 @@ static EM_BOOL Emscripten_HandleTouch(int eventType, const EmscriptenTouchEvent
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
id = touchEvent->touches[i].identifier;
|
id = touchEvent->touches[i].identifier + 1;
|
||||||
if (client_w <= 1) {
|
if (client_w <= 1) {
|
||||||
x = 0.5f;
|
x = 0.5f;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user