Took the main render function out of GLSceneDrawer and moved them into FDrawInfo
First step of eliminating the intermediate SceneDrawer class which has become mostly redundant.
This commit is contained in:
parent
677eba3392
commit
b244fa2c8b
4 changed files with 51 additions and 55 deletions
|
|
@ -1016,6 +1016,10 @@ void R_SetupFrame (FRenderViewpoint &viewpoint, FViewWindow &viewwindow, AActor
|
|||
screen->SetClearColor(color);
|
||||
SWRenderer->SetClearColor(color);
|
||||
}
|
||||
else
|
||||
{
|
||||
screen->SetClearColor(GPalette.BlackIndex);
|
||||
}
|
||||
|
||||
|
||||
// And finally some info that is needed for the hardware renderer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue