mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -57,7 +57,7 @@ struct GFXFormatInfo
|
|||
/// If true, channels are in floating-point.
|
||||
bool mIsFloatingPoint;
|
||||
|
||||
Data() {}
|
||||
Data() :mBytesPerPixel(0), mHasAlpha(false), mIsCompressed(false), mIsFloatingPoint(false) {}
|
||||
Data( U32 bpp, bool hasAlpha = false, bool isCompressed = false, bool isFP = false )
|
||||
: mBytesPerPixel( bpp ),
|
||||
mHasAlpha( hasAlpha ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue