mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Dont drop fonts with ENABLE_FREETYPE=0
This commit is contained in:
@@ -121,7 +121,9 @@ GUIChatConsole::GUIChatConsole(
|
||||
|
||||
GUIChatConsole::~GUIChatConsole()
|
||||
{
|
||||
delete m_font;
|
||||
#if USE_FREETYPE
|
||||
m_font->drop();
|
||||
#endif
|
||||
}
|
||||
|
||||
void GUIChatConsole::openConsole(f32 height)
|
||||
|
Reference in New Issue
Block a user