- moved around more stuff from the FRenderer interface.

This commit is contained in:
Christoph Oelckers 2018-04-03 22:50:47 +02:00
commit fcc33f0a09
11 changed files with 133 additions and 129 deletions

View file

@ -680,7 +680,7 @@ void D_Display ()
cycles.Clock();
r_UseVanillaTransparency = UseVanillaTransparency(); // [SP] Cache UseVanillaTransparency() call
r_renderercaps = Renderer->GetCaps(); // [SP] Get the current capabilities of the renderer
r_renderercaps = screen->GetCaps(); // [SP] Get the current capabilities of the renderer
if (players[consoleplayer].camera == NULL)
{
@ -808,8 +808,9 @@ void D_Display ()
Renderer->RenderView(&players[consoleplayer]);
screen->Begin2D(viewactive);
Renderer->DrawRemainingPlayerSprites();
screen->DrawBlendingRect();
// todo: These need to go into RenderView.
//Renderer->DrawRemainingPlayerSprites();
//screen->DrawBlendingRect();
if (automapactive)
{
AM_Drawer (hud_althud? viewheight : StatusBar->GetTopOfStatusbar());