- moved all portal code that sets up a scene to be rendered into API independent code and let it be handled by a common wrapper class.

This commit is contained in:
Christoph Oelckers 2018-06-23 20:57:02 +02:00
commit 6ebec37baf
13 changed files with 728 additions and 689 deletions

View file

@ -363,7 +363,6 @@ static void GroupSectorPortals()
FSectorPortalGroup *portal = new FSectorPortalGroup;
portal->mDisplacement = pair->Key.mDisplacement;
portal->plane = (i == 1 ? sector_t::floor : sector_t::ceiling); /**/
portal->glportal = NULL;
level.portalGroups.Push(portal);
for (unsigned j = 0; j < pair->Value.Size(); j++)
{