Move some stuff for easier debug

--HG--
branch : develop
feature/pipeline-tools
kaetemi 9 years ago
parent b4a7ab66ab
commit 30077f3977

@ -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…
Cancel
Save