mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -50,8 +50,7 @@ GBitmap::GBitmap()
|
|||
mNumMipLevels(0),
|
||||
mHasTransparency(false)
|
||||
{
|
||||
for (U32 i = 0; i < c_maxMipLevels; i++)
|
||||
mMipLevelOffsets[i] = 0xffffffff;
|
||||
std::fill_n(mMipLevelOffsets, c_maxMipLevels, 0xffffffff);
|
||||
}
|
||||
|
||||
GBitmap::GBitmap(const GBitmap& rCopy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue