uninitialized variables-gfx

This commit is contained in:
AzaezelX 2020-05-11 15:00:25 -05:00
parent 1efb687867
commit b9c207765e
33 changed files with 108 additions and 43 deletions

View file

@ -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)