mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Move some stuff for easier debug
--HG-- branch : develop
This commit is contained in:
parent
b4a7ab66ab
commit
30077f3977
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