mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
animvpx loop: do at least on input device poll each frame (i.e. even if we're
lagging) to be able to cancel the movie in any case. git-svn-id: https://svn.eduke32.com/eduke32@2186 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8e54a3febf
commit
7f34c33bbc
1 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,7 @@ void G_PlayAnim(const char *fn,char t)
|
||||||
palfadedelta = 0;
|
palfadedelta = 0;
|
||||||
showframe(0);
|
showframe(0);
|
||||||
|
|
||||||
while (getticks() < nextframetime)
|
do
|
||||||
{
|
{
|
||||||
handleevents();
|
handleevents();
|
||||||
Net_GetPackets();
|
Net_GetPackets();
|
||||||
|
@ -310,6 +310,7 @@ void G_PlayAnim(const char *fn,char t)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
while (getticks() < nextframetime);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue