mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix: Added missing virtual destructors for classes with virtual functions.
This commit is contained in:
parent
68b12981ae
commit
e7fb6a54de
|
|
@ -45,6 +45,7 @@ protected:
|
|||
|
||||
public:
|
||||
CameraFX();
|
||||
virtual ~CameraFX() { }
|
||||
|
||||
MatrixF & getTrans(){ return mCamFXTrans; }
|
||||
virtual bool isExpired(){ return mElapsedTime >= mDuration; }
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ public:
|
|||
: mHitCount( 0 )
|
||||
#endif
|
||||
{ };
|
||||
virtual ~_TorqueThreadStatic() { }
|
||||
|
||||
static const U32 getListIndex(){ return mListIndex; }
|
||||
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ public:
|
|||
|
||||
/// Constructor.
|
||||
ScreenShot();
|
||||
virtual ~ScreenShot() { }
|
||||
|
||||
/// Used to start the screenshot capture.
|
||||
void setPending( const char *filename, bool writeJPG, S32 tiles, F32 overlap );
|
||||
|
|
|
|||
|
|
@ -221,6 +221,8 @@ protected:
|
|||
// List with bitmaps which are done encoding
|
||||
ThreadSafeDeque< GBitmap* > mProcessedBitmaps;
|
||||
public:
|
||||
virtual ~VideoEncoder() { }
|
||||
|
||||
// Stores an encoded bitmap to be dealt with later
|
||||
void pushProcessedBitmap( GBitmap* bitmap );
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ class ShaderFeatureConstHandles
|
|||
{
|
||||
public:
|
||||
|
||||
virtual ~ShaderFeatureConstHandles() { }
|
||||
|
||||
virtual void init( GFXShader *shader ) = 0;
|
||||
|
||||
virtual void setConsts( SceneRenderState *state,
|
||||
|
|
|
|||
|
|
@ -430,6 +430,8 @@ public:
|
|||
class BasePrimitive
|
||||
{
|
||||
public:
|
||||
virtual ~BasePrimitive() { }
|
||||
|
||||
/// Return true if the element is a geometric primitive type
|
||||
static bool isPrimitive(const daeElement* element)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue