mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-12 04:46:00 +00:00
Switched SDL_TouchID and SDL_FingerID to be Uint64 with 0 being an invalid value
This commit is contained in:
@@ -743,7 +743,7 @@ static EM_BOOL Emscripten_HandleTouch(int eventType, const EmscriptenTouchEvent
|
||||
double client_w, client_h;
|
||||
int preventDefault = 0;
|
||||
|
||||
SDL_TouchID deviceId = 1;
|
||||
const SDL_TouchID deviceId = 1;
|
||||
if (SDL_AddTouch(deviceId, SDL_TOUCH_DEVICE_DIRECT, "") < 0) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user