История изменений
Исправление
RazrFalcon,
(текущая версия)
:
Где-ты это откопал, болезненный? Открываем офф доку и видим:
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_library
In multi-threaded applications it is easiest to use one FT_Library object per thread. In case this is too cumbersome, a single FT_Library object across threads is possible also, as long as a mutex lock is used around FT_New_Face and FT_Done_Face.
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_face
An FT_Face object can only be safely used from one thread at a time. Similarly, creation and destruction of FT_Face with the same FT_Library object can only be done from one thread at a time.
Исходная версия
RazrFalcon,
:
Где-ты это откопал, болезненный? Открываем офф доку и видим:
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_library
In multi-threaded applications it is easiest to use one FT_Library object per thread. In case this is too cumbersome, a single FT_Library object across threads is possible also, as long as a mutex lock is used around FT_New_Face and FT_Done_Face.
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_face
An FT_Face object can only be safely used from one thread at a time. Similarly, creation and destruction of FT_Face with the same FT_Library object can only be done from one thread at a time.