From e9eca76271491c5bdbf377b38f0fe2697761898f Mon Sep 17 00:00:00 2001 From: Karim Naaji Date: Wed, 12 Nov 2014 16:19:20 -0500 Subject: [PATCH] context param initialization for true type implementation --- src/fontstash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontstash.h b/src/fontstash.h index ce57238..967f78a 100644 --- a/src/fontstash.h +++ b/src/fontstash.h @@ -153,7 +153,7 @@ typedef struct FONSttFontImpl FONSttFontImpl; static FT_Library ftLibrary; -int fons__tt_init() +int fons__tt_init(FONScontext *context) { FT_Error ftError; ftError = FT_Init_FreeType(&ftLibrary);