mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Remove dead code that contains a delete of an uninitialized pointer
This commit is contained in:
parent
55ac3dca70
commit
364dd3634d
2 changed files with 0 additions and 7 deletions
|
|
@ -56,12 +56,6 @@ RenderOcclusionMgr::RenderOcclusionMgr()
|
||||||
mMatInstance = NULL;
|
mMatInstance = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
RenderOcclusionMgr::RenderOcclusionMgr(RenderInstType riType, F32 renderOrder, F32 processAddOrder)
|
|
||||||
: RenderBinManager(riType, renderOrder, processAddOrder)
|
|
||||||
{
|
|
||||||
delete mMatInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
static const Point3F cubePoints[8] =
|
static const Point3F cubePoints[8] =
|
||||||
{
|
{
|
||||||
Point3F(-0.5, -0.5, -0.5), Point3F(-0.5, -0.5, 0.5), Point3F(-0.5, 0.5, -0.5), Point3F(-0.5, 0.5, 0.5),
|
Point3F(-0.5, -0.5, -0.5), Point3F(-0.5, -0.5, 0.5), Point3F(-0.5, 0.5, -0.5), Point3F(-0.5, 0.5, 0.5),
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ class RenderOcclusionMgr : public RenderBinManager
|
||||||
typedef RenderBinManager Parent;
|
typedef RenderBinManager Parent;
|
||||||
public:
|
public:
|
||||||
RenderOcclusionMgr();
|
RenderOcclusionMgr();
|
||||||
RenderOcclusionMgr(RenderInstType riType, F32 renderOrder, F32 processAddOrder);
|
|
||||||
|
|
||||||
// RenderOcclusionMgr
|
// RenderOcclusionMgr
|
||||||
virtual void init();
|
virtual void init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue