summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/font/font_dwrite.cpp
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-11-10 18:58:22 -0500
committer Brad Hughes <bradhugh@outlook.com>2016-11-10 18:58:22 -0500
commit477e47ee5f6c52df72b1a98a4ee472e6842a697c (patch)
tree87a918aaef85c56249d4dbab1697f73c9f25f8ce /src/osd/modules/font/font_dwrite.cpp
parentbcabf45f0875833a1c3253b513d9862c01d0026b (diff)
More UWP work - the UI actually renders (nw)
Diffstat (limited to 'src/osd/modules/font/font_dwrite.cpp')
-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 };