mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
clang tidy misc fixes
adress mixed || plus && concerns raised
This commit is contained in:
parent
15971185ee
commit
c337d5a9d2
3 changed files with 3 additions and 3 deletions
|
|
@ -409,7 +409,7 @@ void GBitmap::allocateBitmapWithMips(const U32 in_width, const U32 in_height, co
|
|||
|
||||
mNumMipLevels++;
|
||||
allocPixels += currWidth * currHeight * mBytesPerPixel;
|
||||
} while (currWidth != 1 || currHeight != 1 && mNumMipLevels != in_numMips);
|
||||
} while ((currWidth != 1 || currHeight != 1) && (mNumMipLevels != in_numMips));
|
||||
}
|
||||
AssertFatal(mNumMipLevels <= c_maxMipLevels, "GBitmap::allocateBitmap: too many miplevels");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue