mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -198,14 +198,17 @@ GFont::GFont()
|
|||
VECTOR_SET_ASSOCIATION(mCharInfoList);
|
||||
VECTOR_SET_ASSOCIATION(mTextureSheets);
|
||||
|
||||
for (U32 i = 0; i < (sizeof(mRemapTable) / sizeof(S32)); i++)
|
||||
mRemapTable[i] = -1;
|
||||
std::fill_n(mRemapTable, Font_Table_MAX,-1);
|
||||
|
||||
mCurX = mCurY = mCurSheet = -1;
|
||||
|
||||
mPlatformFont = NULL;
|
||||
mSize = 0;
|
||||
mCharSet = 0;
|
||||
mHeight = 0;
|
||||
mBaseline = 0;
|
||||
mAscent = 0;
|
||||
mDescent = 0;
|
||||
mNeedSave = false;
|
||||
|
||||
mMutex = Mutex::createMutex();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue