- fixed setup of PolyBSPs when the software renderer is active.
Some needed initialization was still in the hardware renderer and not the data creator.
This commit is contained in:
parent
d24f41a595
commit
1ba4dfbfa8
2 changed files with 6 additions and 5 deletions
|
|
@ -1497,6 +1497,12 @@ void subsector_t::BuildPolyBSP()
|
|||
BSP->Subsectors[i].sector = sector;
|
||||
BSP->Subsectors[i].section = section;
|
||||
}
|
||||
for (unsigned i = 0; i < BSP->Segs.Size(); i++)
|
||||
{
|
||||
BSP->Segs[i].Subsector = this;
|
||||
BSP->Segs[i].PartnerSeg = nullptr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue