mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
Draw: FontFc now does FT_Done_FreeType in EXITBLOCK
git-svn-id: svn://ultimatepp.org/upp/trunk@6102 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2fdc779863
commit
adf06a4698
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,12 @@ void GetStdFontSys(String& name, int& height)
|
|||
|
||||
static FT_Library sFTlib;
|
||||
|
||||
EXITBLOCK
|
||||
{
|
||||
if(sFTlib)
|
||||
FT_Done_FreeType(sFTlib);
|
||||
}
|
||||
|
||||
bool sInitFt(void)
|
||||
{
|
||||
if(sFTlib)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue