mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 11:55:33 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -176,7 +176,15 @@ struct DDSFile
|
|||
// For debugging fun!
|
||||
static S32 smActiveCopies;
|
||||
|
||||
DDSFile()
|
||||
DDSFile():
|
||||
mBytesPerPixel(0),
|
||||
mHeight(0),
|
||||
mWidth(0),
|
||||
mDepth(0),
|
||||
mFormat(GFXFormat_FIRST),
|
||||
mFourCC(0),
|
||||
mMipMapCount(0),
|
||||
mPitchOrLinearSize(0)
|
||||
{
|
||||
VECTOR_SET_ASSOCIATION( mSurfaces );
|
||||
smActiveCopies++;
|
||||
|
|
@ -203,4 +211,4 @@ struct DDSFile
|
|||
bool decompressToGBitmap(GBitmap *dest);
|
||||
};
|
||||
|
||||
#endif // _DDSFILE_H_
|
||||
#endif // _DDSFILE_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue