summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/font
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/font')
-rw-r--r--src/osd/modules/font/font_dwrite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/font/font_dwrite.cpp b/src/osd/modules/font/font_dwrite.cpp
index 6e66ccf320b..db85f96790f 100644
--- a/src/osd/modules/font/font_dwrite.cpp
+++ b/src/osd/modules/font/font_dwrite.cpp
@@ -9,7 +9,7 @@
#include "modules/osdmodule.h"
#include "modules/lib/osdlib.h"
-#if defined(OSD_WINDOWS)
+#if defined(OSD_WINDOWS) || defined(OSD_UWP)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -429,7 +429,7 @@ public:
uint32_t tempChar = chnum;
uint16_t glyphIndex;
- HR_RET0(face->GetGlyphIndicesW(&tempChar, 1, &glyphIndex));
+ HR_RET0(face->GetGlyphIndices(&tempChar, 1, &glyphIndex));
// get the width of this character
DWRITE_GLYPH_METRICS glyph_metrics = { 0 };