mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-22 16:13:45 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -195,6 +195,11 @@ public:
|
|||
VideoEncoderTheora() :
|
||||
mCurrentFrame(0), td(NULL), mLastFrame(NULL)
|
||||
{
|
||||
dMemset(&to, 0, sizeof(to));
|
||||
dMemset(&ti, 0, sizeof(ti));
|
||||
dMemset(&tc, 0, sizeof(tc));
|
||||
dMemset(&mBuffer, 0, sizeof(mBuffer));
|
||||
|
||||
setStatus(false);
|
||||
}
|
||||
|
||||
|
|
@ -458,4 +463,4 @@ public:
|
|||
|
||||
REGISTER_VIDEO_ENCODER(VideoEncoderTheora, THEORA)
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue