Finish the job here before leak testing.

Now...how to remove the leak...?
This commit is contained in:
Jason Felds
2011-03-21 01:40:39 -04:00
parent 220e4e168d
commit 25ed1ef8ea
2 changed files with 8 additions and 5 deletions
+5 -4
View File
@@ -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();