bug fix FontFNT.cpp

This commit is contained in:
GameEgg 2014-05-19 18:42:11 +09:00
parent 72b4b9ef15
commit 9c5f7f0ce3
1 changed files with 2 additions and 2 deletions

View File

@ -695,12 +695,12 @@ FontFNT::FontFNT(BMFontConfiguration *theContfig, const Vec2& imageOffset /* = V
:_configuration(theContfig) :_configuration(theContfig)
,_imageOffset(CC_POINT_PIXELS_TO_POINTS(imageOffset)) ,_imageOffset(CC_POINT_PIXELS_TO_POINTS(imageOffset))
{ {
_configuration->retain();
} }
FontFNT::~FontFNT() FontFNT::~FontFNT()
{ {
_configuration->release();
} }
void FontFNT::purgeCachedData() void FontFNT::purgeCachedData()