mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Dont drop fonts with ENABLE_FREETYPE=0
This commit is contained in:
parent
d5ca3b721e
commit
587e7b299b
2 changed files with 6 additions and 2 deletions
|
@ -121,7 +121,9 @@ GUIChatConsole::GUIChatConsole(
|
|||
|
||||
GUIChatConsole::~GUIChatConsole()
|
||||
{
|
||||
delete m_font;
|
||||
#if USE_FREETYPE
|
||||
m_font->drop();
|
||||
#endif
|
||||
}
|
||||
|
||||
void GUIChatConsole::openConsole(f32 height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue