Browse Source

Fix for emscripten builds.

Mark Sibly 9 năm trước cách đây
mục cha
commit
eef5d43b57
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      modules/freetype/freetype-2.6.3/src/autofit/aftypes.h

+ 2 - 1
modules/freetype/freetype-2.6.3/src/autofit/aftypes.h

@@ -221,7 +221,8 @@ extern void*  _af_debug_hints;
   (*AF_WritingSystem_InitHintsFunc)( AF_GlyphHints    hints,
                                      AF_StyleMetrics  metrics );
 
-  typedef void
+//  typedef void
+  typedef int
   (*AF_WritingSystem_ApplyHintsFunc)( FT_UInt          glyph_index,
                                       AF_GlyphHints    hints,
                                       FT_Outline*      outline,