give Texture2D::_pixelFormat a default value in construction

This commit is contained in:
Huabing.Xu 2013-07-01 18:16:56 +08:00
parent ae47e94db9
commit 9642930779
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ Texture2D::Texture2D()
: _PVRHaveAlphaPremultiplied(true)
, _pixelsWide(0)
, _pixelsHigh(0)
, _pixelFormat(kTexture2DPixelFormat_Default)
, _name(0)
, _maxS(0.0)
, _maxT(0.0)