Skip to content
Permalink
Browse files

- always apply vid_maxfps even when vid_vsync is on. Some users may o…

…verride the application in their driver control panel and this helps stabilize their fps if they did it this way
  • Loading branch information...
dpjudas committed May 13, 2019
1 parent f3cb5e0 commit dc44c3328e2c1ef0b9d68e043a789b637d5dff88
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/v_framebuffer.cpp
@@ -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;

0 comments on commit dc44c33

Please sign in to comment.
You can’t perform that action at this time.