mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Apply the FPS limiter to EVENT_SCREEN.
git-svn-id: https://svn.eduke32.com/eduke32@6641 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f228b68736
commit
210f3e54ff
1 changed files with 3 additions and 0 deletions
|
@ -1237,6 +1237,9 @@ void Screen_Play(void)
|
|||
{
|
||||
G_HandleAsync();
|
||||
|
||||
if (!G_FPSLimit())
|
||||
continue;
|
||||
|
||||
clearallviews(0);
|
||||
if (VM_OnEventWithReturn(EVENT_SCREEN, g_player[screenpeek].ps->i, screenpeek, I_CheckAllInput()))
|
||||
running = 0;
|
||||
|
|
Loading…
Reference in a new issue