Move some stuff for easier debug

--HG--
branch : develop
This commit is contained in:
kaetemi 2016-02-18 11:55:58 +01:00
parent b4a7ab66ab
commit 30077f3977
2 changed files with 16 additions and 10 deletions

View file

@ -320,16 +320,8 @@ public:
// don't forget to update operator=() and swap() if adding a data member // don't forget to update operator=() and swap() if adding a data member
CBitmap() CBitmap();
{ virtual ~CBitmap();
_MipMapCount = 1;
_Width = 0;
_Height = 0;
PixelFormat = RGBA;
_LoadGrayscaleAsAlpha = true;
}
virtual ~CBitmap() { }
// swap 2 bitmaps contents // swap 2 bitmaps contents
void swap(CBitmap &other); void swap(CBitmap &other);

View file

@ -84,6 +84,20 @@ void MakeWhite(CBitmap &bitmaps)
} }
#endif // NEL_ALL_BITMAP_WHITE #endif // NEL_ALL_BITMAP_WHITE
CBitmap::CBitmap()
{
_MipMapCount = 1;
_Width = 0;
_Height = 0;
PixelFormat = RGBA;
_LoadGrayscaleAsAlpha = true;
}
CBitmap::~CBitmap()
{
}
/*-------------------------------------------------------------------*\ /*-------------------------------------------------------------------*\
load load
\*-------------------------------------------------------------------*/ \*-------------------------------------------------------------------*/