mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- reverted the change of position where polyobjects get linked to the subsectors.
This commit is contained in:
parent
3a039b1e44
commit
5141fee8c0
3 changed files with 4 additions and 2 deletions
|
@ -260,6 +260,7 @@ void GLSceneDrawer::CreateScene()
|
|||
|
||||
// reset the portal manager
|
||||
GLPortal::StartFrame();
|
||||
PO_LinkToSubsectors();
|
||||
|
||||
ProcessAll.Clock();
|
||||
|
||||
|
|
|
@ -681,8 +681,6 @@ void R_SetupFrame (FRenderViewpoint &viewpoint, FViewWindow &viewwindow, AActor
|
|||
I_Error ("Tried to render from a NULL actor.");
|
||||
}
|
||||
|
||||
PO_LinkToSubsectors();
|
||||
|
||||
player_t *player = actor->player;
|
||||
unsigned int newblend;
|
||||
InterpolationViewer *iview;
|
||||
|
|
|
@ -143,6 +143,9 @@ namespace swrenderer
|
|||
// [RH] Setup particles for this frame
|
||||
P_FindParticleSubsectors();
|
||||
|
||||
// Link the polyobjects right before drawing the scene to reduce the amounts of calls to this function
|
||||
PO_LinkToSubsectors();
|
||||
|
||||
ActorRenderFlags savedflags = MainThread()->Viewport->viewpoint.camera->renderflags;
|
||||
// Never draw the player unless in chasecam mode
|
||||
if (!MainThread()->Viewport->viewpoint.showviewer)
|
||||
|
|
Loading…
Reference in a new issue