mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- do not accept any input in the first 0.1 seconds of running a screen job.
This is to avoid accidental skipping by pending game input.
This commit is contained in:
parent
df86a11d23
commit
129aa864dd
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,6 @@ public:
|
|||
auto& job = jobs[index];
|
||||
auto now = I_GetTimeNS();
|
||||
bool processed = job.job->ProcessInput();
|
||||
bool skiprequest = inputState.CheckAllInput() && !processed;
|
||||
if (startTime == -1)
|
||||
{
|
||||
lastTime = startTime = now;
|
||||
|
@ -763,6 +762,7 @@ public:
|
|||
clock += now - lastTime;
|
||||
if (clock == 0) clock = 1;
|
||||
}
|
||||
bool skiprequest = clock > 100'000'000 && inputState.CheckAllInput() && !processed;
|
||||
lastTime = now;
|
||||
|
||||
if (screenfade < 1.f && !M_Active())
|
||||
|
|
Loading…
Reference in a new issue