소스 검색

wayland: Don't add the nanosecond timestamp offset to the pre-conversion millisecond value

Frank Praznik 3 달 전
부모
커밋
6c61a94a4b
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/video/wayland/SDL_waylandevents.c

+ 0 - 1
src/video/wayland/SDL_waylandevents.c

@@ -221,7 +221,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;
 }