Finish the job here before leak testing.
Now...how to remove the leak...?
This commit is contained in:
+5
-4
@@ -13,7 +13,8 @@
|
||||
|
||||
FontPage::FontPage(): m_iHeight(0), m_iLineSpacing(0), m_fVshift(0),
|
||||
m_iDrawExtraPixelsLeft(0), m_iDrawExtraPixelsRight(0),
|
||||
m_sTexturePath("") {}
|
||||
m_FontPageTextures(), m_sTexturePath(""), m_aGlyphs(),
|
||||
m_iCharToGlyphNo() {}
|
||||
|
||||
void FontPage::Load( const FontPageSettings &cfg )
|
||||
{
|
||||
@@ -221,9 +222,9 @@ int Font::GetLineHeightInSourcePixels( const wstring &szLine ) const
|
||||
|
||||
|
||||
Font::Font(): m_iRefCount(1), path(""), m_apPages(), m_pDefault(NULL),
|
||||
m_bRightToLeft(false), m_DefaultStrokeColor(RageColor(0,0,0,0)),
|
||||
m_sChars("") {} // strokes aren't shown by default, hence the Color.
|
||||
|
||||
m_iCharToGlyph(), m_bRightToLeft(false),
|
||||
// strokes aren't shown by default, hence the Color.
|
||||
m_DefaultStrokeColor(RageColor(0,0,0,0)), m_sChars("") {}
|
||||
Font::~Font()
|
||||
{
|
||||
Unload();
|
||||
|
||||
Reference in New Issue
Block a user