summaryrefslogtreecommitdiffstats
path: root/libass/ass_directwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_directwrite.c')
-rw-r--r--libass/ass_directwrite.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/libass/ass_directwrite.c b/libass/ass_directwrite.c
index fb21d5c..1ef0616 100644
--- a/libass/ass_directwrite.c
+++ b/libass/ass_directwrite.c
@@ -628,13 +628,11 @@ static void scan_fonts(IDWriteFactory *factory,
* specified task
*/
static ASS_FontProviderFuncs directwrite_callbacks = {
- get_data,
- check_glyph,
- destroy_font,
- destroy_provider,
- NULL,
- NULL,
- get_fallback
+ .get_data = get_data,
+ .check_glyph = check_glyph,
+ .destroy_font = destroy_font,
+ .destroy_provider = destroy_provider,
+ .get_fallback = get_fallback,
};
typedef HRESULT WINAPI (*DWriteCreateFactoryFn)(