mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- add framerate limiter to polybackend update function
This commit is contained in:
parent
aa4abfc977
commit
e87ed35565
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue