mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
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
|
// 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);
|
||||||
|
|
|
@ -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
|
||||||
\*-------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue