diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c index ce32eb1aa9..cc2c5f9e37 100644 --- a/src/video/wayland/SDL_waylandevents.c +++ b/src/video/wayland/SDL_waylandevents.c @@ -199,7 +199,6 @@ static Uint64 Wayland_EventTimestampMSToNS(Uint32 wl_timestamp_ms) timestamp_offset += SDL_MS_TO_NS(SDL_UINT64_C(0x100000000)); } last = wl_timestamp_ms; - wl_timestamp_ms += timestamp_offset; return SDL_MS_TO_NS(wl_timestamp_ms) + timestamp_offset; }