Skip to content

Commit

Permalink
Default MaximumFrameLatency increased (#812)
Browse files Browse the repository at this point in the history
Defaults jitter fix to be on, instead of off, if nothing is set by a port.
  • Loading branch information
Spodi authored Feb 9, 2025
1 parent b704048 commit 74f1c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphic/Fast3D/gfx_dxgi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ void gfx_dxgi_init(const char* game_name, const char* gfx_api_name, bool start_i
dxgi.qpc_freq = qpc_freq.QuadPart;

dxgi.target_fps = 60;
dxgi.maximum_frame_latency = 1;
dxgi.maximum_frame_latency = 2;

// Use high-resolution timer by default on Windows 10 (so that NtSetTimerResolution (...) hacks are not needed)
dxgi.timer = CreateWaitableTimerExW(nullptr, nullptr, CREATE_WAITABLE_TIMER_HIGH_RESOLUTION, TIMER_ALL_ACCESS);
Expand Down

0 comments on commit 74f1c35

Please sign in to comment.