mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Fix member vars left uninitialized in constructors
This commit is contained in:
parent
3fe0fe1b92
commit
0ffd7f5620
23 changed files with 68 additions and 19 deletions
|
|
@ -64,7 +64,7 @@ public:
|
|||
};
|
||||
|
||||
GFXGLShaderConstHandle::GFXGLShaderConstHandle( GFXGLShader *shader )
|
||||
: mShader( shader ), mSamplerNum(-1), mInstancingConstant(false)
|
||||
: mShader( shader ), mLocation(0), mOffset(0), mSize(0), mSamplerNum(-1), mInstancingConstant(false)
|
||||
{
|
||||
mValid = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ class TheoraTextureFrame
|
|||
F32 mFrameDuration;
|
||||
|
||||
TheoraTextureFrame()
|
||||
: mLockedRect( NULL )
|
||||
: mLockedRect( NULL ), mFrameNumber(0), mFrameTime(0.0f), mFrameDuration(0.0f)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ class VideoEncoderTheora : public VideoEncoder, public Thread
|
|||
|
||||
public:
|
||||
VideoEncoderTheora() :
|
||||
mLastFrame(NULL)
|
||||
mCurrentFrame(0), td(NULL), mLastFrame(NULL)
|
||||
{
|
||||
setStatus(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue