Move some stuff for easier debug
This commit is contained in:
parent
cb44c01ad4
commit
8bd8b3ea3e
2 changed files with 16 additions and 10 deletions
|
@ -320,16 +320,8 @@ public:
|
|||
|
||||
// don't forget to update operator=() and swap() if adding a data member
|
||||
|
||||
CBitmap()
|
||||
{
|
||||
_MipMapCount = 1;
|
||||
_Width = 0;
|
||||
_Height = 0;
|
||||
PixelFormat = RGBA;
|
||||
_LoadGrayscaleAsAlpha = true;
|
||||
}
|
||||
|
||||
virtual ~CBitmap() { }
|
||||
CBitmap();
|
||||
virtual ~CBitmap();
|
||||
|
||||
// swap 2 bitmaps contents
|
||||
void swap(CBitmap &other);
|
||||
|
|
|
@ -84,6 +84,20 @@ void MakeWhite(CBitmap &bitmaps)
|
|||
}
|
||||
#endif // NEL_ALL_BITMAP_WHITE
|
||||
|
||||
CBitmap::CBitmap()
|
||||
{
|
||||
_MipMapCount = 1;
|
||||
_Width = 0;
|
||||
_Height = 0;
|
||||
PixelFormat = RGBA;
|
||||
_LoadGrayscaleAsAlpha = true;
|
||||
}
|
||||
|
||||
CBitmap::~CBitmap()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------*\
|
||||
load
|
||||
\*-------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue