This commit is contained in:
commit
6a402c28d8
15 changed files with 192 additions and 198 deletions
|
|
@ -404,10 +404,8 @@ namespace swrenderer
|
|||
|
||||
void RenderOpaquePass::AddPolyobjs(subsector_t *sub)
|
||||
{
|
||||
if (sub->BSP == nullptr || sub->BSP->bDirty)
|
||||
{
|
||||
sub->BuildPolyBSP();
|
||||
}
|
||||
Thread->PreparePolyObject(sub);
|
||||
|
||||
if (sub->BSP->Nodes.Size() == 0)
|
||||
{
|
||||
RenderSubsector(&sub->BSP->Subsectors[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue