summaryrefslogtreecommitdiff
path: root/emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp
blob: f1d7754c5da887b52066c30f30ed97b9018a3e6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-3rdparty_bgfx_examples_common_font_font__manager.cpp,v 1.1 2016/01/14 23:12:01 wiz Exp $

Compatibility with freetype2-2.6.2.

--- 3rdparty/bgfx/examples/common/font/font_manager.cpp.orig	2015-12-30 07:18:51.000000000 +0000
+++ 3rdparty/bgfx/examples/common/font/font_manager.cpp
@@ -17,7 +17,9 @@ BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4245) 
 #pragma push_macro("interface")
 #endif
 #undef interface
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_GLYPH_H
 #if BX_COMPILER_MSVC || BX_COMPILER_GCC >= 40300
 #pragma pop_macro("interface")
 #endif