mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +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<GLSkyInfo> UniqueSkies;
|
||||||
UniqueList<GLHorizonInfo> UniqueHorizons;
|
UniqueList<GLHorizonInfo> UniqueHorizons;
|
||||||
UniqueList<secplane_t> UniquePlaneMirrors;
|
UniqueList<secplane_t> UniquePlaneMirrors;
|
||||||
UniqueList<FLinePortalSpan> UniqueLineToLines;
|
|
||||||
|
|
||||||
int skyboxrecursion = 0;
|
int skyboxrecursion = 0;
|
||||||
|
|
||||||
|
@ -100,7 +99,6 @@ void GLPortal::BeginScene()
|
||||||
UniqueSkies.Clear();
|
UniqueSkies.Clear();
|
||||||
UniqueHorizons.Clear();
|
UniqueHorizons.Clear();
|
||||||
UniquePlaneMirrors.Clear();
|
UniquePlaneMirrors.Clear();
|
||||||
UniqueLineToLines.Clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
|
@ -74,7 +74,6 @@ struct GLSkyInfo
|
||||||
extern UniqueList<GLSkyInfo> UniqueSkies;
|
extern UniqueList<GLSkyInfo> UniqueSkies;
|
||||||
extern UniqueList<GLHorizonInfo> UniqueHorizons;
|
extern UniqueList<GLHorizonInfo> UniqueHorizons;
|
||||||
extern UniqueList<secplane_t> UniquePlaneMirrors;
|
extern UniqueList<secplane_t> UniquePlaneMirrors;
|
||||||
extern UniqueList<FLinePortalSpan> UniqueLineToLines;
|
|
||||||
struct GLEEHorizonPortal;
|
struct GLEEHorizonPortal;
|
||||||
class GLSceneDrawer;
|
class GLSceneDrawer;
|
||||||
|
|
||||||
|
|
|
@ -1241,10 +1241,7 @@ public:
|
||||||
{
|
{
|
||||||
if (!memcmp(t, Array[i], sizeof(T))) return Array[i];
|
if (!memcmp(t, Array[i], sizeof(T))) return Array[i];
|
||||||
}
|
}
|
||||||
T * newo = new T;
|
Array.Push(new T(*t));
|
||||||
|
|
||||||
*newo = *t;
|
|
||||||
Array.Push(newo);
|
|
||||||
return newo;
|
return newo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue