Skip to content

Commit 6c61a94

Browse files
committed
wayland: Don't add the nanosecond timestamp offset to the pre-conversion millisecond value
1 parent 25f2376 commit 6c61a94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/video/wayland/SDL_waylandevents.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ static Uint64 Wayland_EventTimestampMSToNS(Uint32 wl_timestamp_ms)
221221
timestamp_offset += SDL_MS_TO_NS(SDL_UINT64_C(0x100000000));
222222
}
223223
last = wl_timestamp_ms;
224-
wl_timestamp_ms += timestamp_offset;
225224

226225
return SDL_MS_TO_NS(wl_timestamp_ms) + timestamp_offset;
227226
}

0 commit comments

Comments
 (0)