mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +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();
|
G_HandleAsync();
|
||||||
|
|
||||||
|
if (!G_FPSLimit())
|
||||||
|
continue;
|
||||||
|
|
||||||
clearallviews(0);
|
clearallviews(0);
|
||||||
if (VM_OnEventWithReturn(EVENT_SCREEN, g_player[screenpeek].ps->i, screenpeek, I_CheckAllInput()))
|
if (VM_OnEventWithReturn(EVENT_SCREEN, g_player[screenpeek].ps->i, screenpeek, I_CheckAllInput()))
|
||||||
running = 0;
|
running = 0;
|
||||||
|
|
Loading…
Reference in a new issue