Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1492cd9

Browse files
committed
Make sure to use kVsyncTimer when resetting timer
1 parent 8572beb commit 1492cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/windows/window_win32.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ WindowWin32::HandleMessage(UINT const message,
421421
case WM_TIMER:
422422
if (wparam == kVsyncTimer) {
423423
direct_manipulation_owner_->Update();
424-
SetTimer(window_handle_, 1, 1000 / framerate_, nullptr);
424+
SetTimer(window_handle_, kVsyncTimer, 1000 / framerate_, nullptr);
425425
return 0;
426426
}
427427
break;

0 commit comments

Comments
 (0)