Fixed compile occuring if FONS_USE_FREETYPE is defined.

This commit is contained in:
Jancsi Farkas 2014-11-01 07:54:45 +02:00
parent b048742da4
commit a473d72ecf

View File

@ -153,9 +153,10 @@ typedef struct FONSttFontImpl FONSttFontImpl;
static FT_Library ftLibrary;
int fons__tt_init()
{
int fons__tt_init(FONScontext *context)
{
FT_Error ftError;
FONS_NOTUSED(context);
ftError = FT_Init_FreeType(&ftLibrary);
return ftError == 0;
}