diff options
Diffstat (limited to 'src/engine/client')
| -rw-r--r-- | src/engine/client/text.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 8fa8efee..672fde60 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -67,8 +67,9 @@ struct CFontSizeData int m_CurrentCharacter; }; -struct CFont +class CFont { +public: char m_aFilename[128]; FT_Face m_FtFace; CFontSizeData m_aSizes[NUM_FONT_SIZES]; @@ -101,7 +102,7 @@ class CTextRender : public IEngineTextRender int m_FontTextureFormat; - struct CFont *m_pDefaultFont; + CFont *m_pDefaultFont; FT_Library m_FTLibrary; @@ -470,7 +471,7 @@ public: mem_free(pFont); } - virtual void SetDefaultFont(struct CFont *pFont) + virtual void SetDefaultFont(CFont *pFont) { dbg_msg("textrender", "default pFont set %p", pFont); m_pDefaultFont = pFont; |