- cleanup of GL renderer interface and improper header use in software renderer.
This commit is contained in:
parent
245a9ef80c
commit
2b2c986bd0
14 changed files with 42 additions and 61 deletions
|
|
@ -488,12 +488,6 @@ static void PrepareSegs()
|
|||
int *segcount = new int[numsides];
|
||||
int realsegs = 0;
|
||||
|
||||
// Get floatng point coordinates of vertices
|
||||
for(auto &v : level.vertexes)
|
||||
{
|
||||
v.dirty = true;
|
||||
}
|
||||
|
||||
// count the segs
|
||||
memset(segcount, 0, numsides * sizeof(int));
|
||||
|
||||
|
|
@ -638,11 +632,11 @@ void gl_CleanLevelData()
|
|||
}
|
||||
}
|
||||
}
|
||||
for(unsigned i=0;i<portals.Size(); i++)
|
||||
for(unsigned i=0;i<glSectorPortals.Size(); i++)
|
||||
{
|
||||
delete portals[i];
|
||||
delete glSectorPortals[i];
|
||||
}
|
||||
portals.Clear();
|
||||
glSectorPortals.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue