mirror of https://github.com/axmolengine/axmol.git
give Texture2D::_pixelFormat a default value in construction
This commit is contained in:
parent
ae47e94db9
commit
9642930779
|
@ -65,6 +65,7 @@ Texture2D::Texture2D()
|
|||
: _PVRHaveAlphaPremultiplied(true)
|
||||
, _pixelsWide(0)
|
||||
, _pixelsHigh(0)
|
||||
, _pixelFormat(kTexture2DPixelFormat_Default)
|
||||
, _name(0)
|
||||
, _maxS(0.0)
|
||||
, _maxT(0.0)
|
||||
|
|
Loading…
Reference in New Issue