mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Fixed compile occuring if FONS_USE_FREETYPE is defined.
This commit is contained in:
parent
b048742da4
commit
a473d72ecf
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue