mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +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