summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/font/font_dwrite.cpp
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-06-15 16:25:43 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-06-15 16:25:43 -0400
commit9f214108eb78991227595a5b3e9080b90a16ac09 (patch)
tree90f5d8b66f76041724859a80bccbb8da1343ef31 /src/osd/modules/font/font_dwrite.cpp
parent85f40091118091c07efc51d13e1df7376865ccae (diff)
Add WINAPI to other needed functions for stdcall calling convention on 32-bit
Diffstat (limited to 'src/osd/modules/font/font_dwrite.cpp')
-rw-r--r--src/osd/modules/font/font_dwrite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/font/font_dwrite.cpp b/src/osd/modules/font/font_dwrite.cpp
index 9c0bee36220..599a562de2b 100644
--- a/src/osd/modules/font/font_dwrite.cpp
+++ b/src/osd/modules/font/font_dwrite.cpp
@@ -80,7 +80,7 @@ typedef std::unique_ptr<char, osd_deleter> osd_utf8_ptr;
// Typedefs for dynamically loaded functions
typedef HRESULT (WINAPI *d2d_create_factory_fn)(D2D1_FACTORY_TYPE, REFIID, const D2D1_FACTORY_OPTIONS *, void **);
-typedef HRESULT (*dwrite_create_factory_fn)(DWRITE_FACTORY_TYPE, REFIID, IUnknown **);
+typedef HRESULT (WINAPI *dwrite_create_factory_fn)(DWRITE_FACTORY_TYPE, REFIID, IUnknown **);
// Debugging functions
#ifdef DWRITE_DEBUGGING