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 authored and madame-rachelle committed May 13, 2019
1 parent 0156bf2 commit 5db5eb68ed92f562541c9bbc15701d041317b698
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 5db5eb6

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