mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
Remove ErrorCleanup from FRenderer interface
This commit is contained in:
parent
3093aaadc9
commit
1e7015643d
5 changed files with 1 additions and 9 deletions
|
@ -961,7 +961,6 @@ void D_ErrorCleanup ()
|
|||
menuactive = MENU_Off;
|
||||
}
|
||||
insave = false;
|
||||
Renderer->ErrorCleanup();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
@ -53,7 +53,6 @@ struct FRenderer
|
|||
virtual int GetMaxViewPitch(bool down) = 0; // return value is in plain degrees
|
||||
|
||||
virtual void OnModeSet () {}
|
||||
virtual void ErrorCleanup () {}
|
||||
virtual void ClearBuffer(int color) = 0;
|
||||
virtual void Init() = 0;
|
||||
virtual void SetWindow (int windowSize, int fullWidth, int fullHeight, int stHeight, float trueratio) {}
|
||||
|
|
|
@ -276,11 +276,6 @@ void FSoftwareRenderer::OnModeSet ()
|
|||
RenderScene::Instance()->ScreenResized();
|
||||
}
|
||||
|
||||
void FSoftwareRenderer::ErrorCleanup ()
|
||||
{
|
||||
Clip3DFloors::Instance()->Cleanup();
|
||||
}
|
||||
|
||||
void FSoftwareRenderer::ClearBuffer(int color)
|
||||
{
|
||||
if (!r_swtruecolor)
|
||||
|
|
|
@ -31,7 +31,6 @@ struct FSoftwareRenderer : public FRenderer
|
|||
bool RequireGLNodes() override;
|
||||
|
||||
void OnModeSet () override;
|
||||
void ErrorCleanup () override;
|
||||
void ClearBuffer(int color) override;
|
||||
void Init() override;
|
||||
void SetWindow (int windowSize, int fullWidth, int fullHeight, int stHeight, float trueratio) override;
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace swrenderer
|
|||
WallScanCycles.Reset();
|
||||
|
||||
Clip3DFloors *clip3d = Clip3DFloors::Instance();
|
||||
clip3d->fakeActive = false; // kg3D - reset fake floor indicator
|
||||
clip3d->Cleanup();
|
||||
clip3d->ResetClip(); // reset clips (floor/ceiling)
|
||||
|
||||
R_SetupBuffer();
|
||||
|
|
Loading…
Reference in a new issue