summaryrefslogtreecommitdiffstats
path: root/libass/ass_directwrite.c
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2021-03-26 04:29:55 +0200
committerOleg Oshmyan <chortos@inbox.lv>2021-04-29 03:18:15 +0300
commitb4b744244799d9c3c81df809313e6a85347f1bd0 (patch)
treeccfbf3e4414c28cb7c38aeec4204f48eca745ec7 /libass/ass_directwrite.c
parentf9caed9af523079419f856b9eba79fbff762f9ed (diff)
downloadlibass-b4b744244799d9c3c81df809313e6a85347f1bd0.tar.bz2
libass-b4b744244799d9c3c81df809313e6a85347f1bd0.tar.xz
fontselect: coretext: reuse main FT_Library
Diffstat (limited to 'libass/ass_directwrite.c')
-rw-r--r--libass/ass_directwrite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libass/ass_directwrite.c b/libass/ass_directwrite.c
index 399aef7..49ab2d9 100644
--- a/libass/ass_directwrite.c
+++ b/libass/ass_directwrite.c
@@ -749,7 +749,8 @@ typedef HRESULT (WINAPI *DWriteCreateFactoryFn)(
*/
ASS_FontProvider *ass_directwrite_add_provider(ASS_Library *lib,
ASS_FontSelector *selector,
- const char *config)
+ const char *config,
+ FT_Library ftlib)
{
HRESULT hr = S_OK;
IDWriteFactory *dwFactory = NULL;