- 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:
Magnus Norddahl 2019-05-13 22:50:58 +02:00
parent f3cb5e09e4
commit dc44c3328e

View file

@ -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;