summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/rendfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/rendfont.h')
-rw-r--r--src/emu/rendfont.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/rendfont.h b/src/emu/rendfont.h
index 62ce244d69a..4db45ca0a90 100644
--- a/src/emu/rendfont.h
+++ b/src/emu/rendfont.h
@@ -13,6 +13,8 @@
#include "render.h"
+// forward instead of include
+class osd_font;
//**************************************************************************
// TYPE DEFINITIONS
@@ -91,7 +93,7 @@ private:
dynamic_array<glyph> m_glyphs[256]; // array of glyph subtables
dynamic_array<char> m_rawdata; // pointer to the raw data for the font
UINT64 m_rawsize; // size of the raw font data
- osd_font m_osdfont; // handle to the OSD font
+ osd_font *m_osdfont; // handle to the OSD font
// constants
static const int CACHED_CHAR_SIZE = 12;