mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 04:24:39 +00:00
- Update player camera angles right before drawing a frame.
* Also stops situations where `GameInput::getInput()` was being called incessantly while in the menu, during screenjobs, etc.
This commit is contained in:
parent
0eba341ac1
commit
6403c7291f
1 changed files with 5 additions and 5 deletions
|
@ -436,6 +436,11 @@ void Display()
|
|||
screen->BeginFrame();
|
||||
screen->SetSceneRenderTarget(gl_ssao != 0);
|
||||
//updateModelInterpolation();
|
||||
if (!SyncInput())
|
||||
{
|
||||
I_GetEvent();
|
||||
gameInput.getInput(inputScale);
|
||||
}
|
||||
gi->Render();
|
||||
DrawFullscreenBlends();
|
||||
drawMapTitle();
|
||||
|
@ -603,11 +608,6 @@ void TryRunTics (void)
|
|||
gi->Predict(myconnectindex);
|
||||
#endif
|
||||
}
|
||||
if (!SyncInput())
|
||||
{
|
||||
I_GetEvent();
|
||||
gameInput.getInput(inputScale);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue