mirror of https://github.com/axmolengine/axmol.git
bug fix FontFNT.cpp
This commit is contained in:
parent
72b4b9ef15
commit
9c5f7f0ce3
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue