mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- things are mostly working again.
Rendering produces an image again, input gets properly processed, but unsynchronised mouse input isn't properly applied yet.
This commit is contained in:
parent
38d10cc591
commit
765f211e05
6 changed files with 25 additions and 9 deletions
|
@ -179,6 +179,7 @@ static void GameTicker()
|
|||
}
|
||||
|
||||
C_RunDelayedCommands();
|
||||
updatePauseStatus();
|
||||
|
||||
switch (gamestate)
|
||||
{
|
||||
|
@ -191,6 +192,7 @@ static void GameTicker()
|
|||
case GS_LEVEL:
|
||||
gameupdatetime.Reset();
|
||||
gameupdatetime.Clock();
|
||||
gameclock += 120 / GameTicRate;
|
||||
gi->Ticker();
|
||||
gameupdatetime.Unclock();
|
||||
break;
|
||||
|
@ -238,6 +240,12 @@ void Display()
|
|||
case GS_LEVEL:
|
||||
if (gametic != 0)
|
||||
{
|
||||
screen->BeginFrame();
|
||||
screen->SetSceneRenderTarget(gl_ssao != 0);
|
||||
twodpsp.Clear();
|
||||
twod->Clear();
|
||||
twod->SetSize(screen->GetWidth(), screen->GetHeight());
|
||||
twodpsp.SetSize(screen->GetWidth(), screen->GetHeight());
|
||||
gi->Render();
|
||||
DrawFullscreenBlends();
|
||||
}
|
||||
|
@ -259,7 +267,7 @@ void Display()
|
|||
DrawRateStuff();
|
||||
}
|
||||
|
||||
videoShowFrame(0);
|
||||
videoShowFrame(1);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue