From e87ed35565874ff0dee73025200d34c35c76afdf Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 1 Jan 2020 00:39:33 -0500 Subject: [PATCH] - add framerate limiter to polybackend update function --- src/rendering/polyrenderer/backend/poly_framebuffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rendering/polyrenderer/backend/poly_framebuffer.cpp b/src/rendering/polyrenderer/backend/poly_framebuffer.cpp index 365770968..3370c9f7d 100644 --- a/src/rendering/polyrenderer/backend/poly_framebuffer.cpp +++ b/src/rendering/polyrenderer/backend/poly_framebuffer.cpp @@ -167,6 +167,7 @@ void PolyFrameBuffer::Update() DrawerThreads::WaitForWorkers(); I_PolyPresentUnlock(mOutputLetterbox.left, mOutputLetterbox.top, mOutputLetterbox.width, mOutputLetterbox.height); } + FPSLimit(); } DrawerThreads::WaitForWorkers();