Fixed Windows build due to an implicit memcpy generated by the optimizer
parent
e9d4e31044
commit
96e15fa7f6
|
@ -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…
Reference in New Issue