Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default MaximumFrameLatency increased #812

Merged
merged 1 commit into from
Feb 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading