- add framerate limiter to polybackend update function

This commit is contained in:
Rachael Alexanderson 2020-01-01 00:39:33 -05:00
parent aa4abfc977
commit e87ed35565

View file

@ -167,6 +167,7 @@ void PolyFrameBuffer::Update()
DrawerThreads::WaitForWorkers(); DrawerThreads::WaitForWorkers();
I_PolyPresentUnlock(mOutputLetterbox.left, mOutputLetterbox.top, mOutputLetterbox.width, mOutputLetterbox.height); I_PolyPresentUnlock(mOutputLetterbox.left, mOutputLetterbox.top, mOutputLetterbox.width, mOutputLetterbox.height);
} }
FPSLimit();
} }
DrawerThreads::WaitForWorkers(); DrawerThreads::WaitForWorkers();