This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
nanovg
mirror of
https://github.com/VCVRack/nanovg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#183
from csaken/master
Fixed compile error occuring if FONS_USE_FREETYPE is defined.
shared-context
Mikko Mononen
10 years ago
parent
b048742da4
a473d72ecf
commit
f75078f594
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
src/fontstash.h
+ 3
- 2
src/fontstash.h
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;
}
Write
Preview
Loading…
Cancel
Save