mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- removed UniqueLineToLines because it wasn't used anywhere.
This commit is contained in:
parent
790182a2f4
commit
71c8417578
3 changed files with 1 additions and 7 deletions
|
@ -85,7 +85,6 @@ bool GLPortal::inskybox;
|
|||
UniqueList<GLSkyInfo> UniqueSkies;
|
||||
UniqueList<GLHorizonInfo> UniqueHorizons;
|
||||
UniqueList<secplane_t> UniquePlaneMirrors;
|
||||
UniqueList<FLinePortalSpan> UniqueLineToLines;
|
||||
|
||||
int skyboxrecursion = 0;
|
||||
|
||||
|
@ -100,7 +99,6 @@ void GLPortal::BeginScene()
|
|||
UniqueSkies.Clear();
|
||||
UniqueHorizons.Clear();
|
||||
UniquePlaneMirrors.Clear();
|
||||
UniqueLineToLines.Clear();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
@ -74,7 +74,6 @@ struct GLSkyInfo
|
|||
extern UniqueList<GLSkyInfo> UniqueSkies;
|
||||
extern UniqueList<GLHorizonInfo> UniqueHorizons;
|
||||
extern UniqueList<secplane_t> UniquePlaneMirrors;
|
||||
extern UniqueList<FLinePortalSpan> UniqueLineToLines;
|
||||
struct GLEEHorizonPortal;
|
||||
class GLSceneDrawer;
|
||||
|
||||
|
|
|
@ -1241,10 +1241,7 @@ public:
|
|||
{
|
||||
if (!memcmp(t, Array[i], sizeof(T))) return Array[i];
|
||||
}
|
||||
T * newo = new T;
|
||||
|
||||
*newo = *t;
|
||||
Array.Push(newo);
|
||||
Array.Push(new T(*t));
|
||||
return newo;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue