mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 23:20:58 +00:00
Fixed Windows build due to an implicit memcpy generated by the optimizer
This commit is contained in:
parent
e9d4e31044
commit
96e15fa7f6
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ int SDL_GestureDelTouch(SDL_TouchID touchId)
|
|||
SDL_zero(SDL_gestureTouch[i]);
|
||||
|
||||
SDL_numGestureTouches--;
|
||||
SDL_gestureTouch[i] = SDL_gestureTouch[SDL_numGestureTouches];
|
||||
SDL_memcpy(&SDL_gestureTouch[i], &SDL_gestureTouch[SDL_numGestureTouches], sizeof(SDL_gestureTouch[i]));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue