- removed gl dependencies from gl_sky.cpp by moving some data into other places.
This commit is contained in:
parent
59477362d9
commit
cc926dec1e
9 changed files with 21 additions and 24 deletions
|
|
@ -463,6 +463,7 @@ void FDrawInfo::AddPortal(GLWall *wall, int ptype)
|
|||
break;
|
||||
|
||||
case PORTALTYPE_SKY:
|
||||
wall->sky = UniqueSkies.Get(wall->sky);
|
||||
portal = GLPortal::FindPortal(wall->sky);
|
||||
if (!portal) portal = new GLSkyPortal(wall->sky);
|
||||
portal->AddLine(wall);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue