mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-20 19:02:43 +00:00
- always apply vid_maxfps even when vid_vsync is on. Some users may override the application in their driver control panel and this helps stabilize their fps if they did it this way
This commit is contained in:
parent
f3cb5e09e4
commit
dc44c3328e
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ void DFrameBuffer::FPSLimit()
|
|||
using namespace std::chrono;
|
||||
using namespace std::this_thread;
|
||||
|
||||
if (vid_maxfps <= 0 || vid_vsync || cl_capfps)
|
||||
if (vid_maxfps <= 0 || cl_capfps)
|
||||
return;
|
||||
|
||||
uint64_t targetWakeTime = fpsLimitTime + 1'000'000 / vid_maxfps;
|
||||
|
|
Loading…
Reference in a new issue