mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-10 11:55:27 +01:00
Fix black font and menu header when game exits in background (#16131)
This commit is contained in:
@@ -117,6 +117,10 @@ GUIEngine::GUIEngine(JoystickController *joystick,
|
||||
m_data(data),
|
||||
m_kill(kill)
|
||||
{
|
||||
// Go back to our mainmenu fonts
|
||||
// Delayed until mainmenu initialization because of #15883
|
||||
g_fontengine->clearMediaFonts();
|
||||
|
||||
// initialize texture pointers
|
||||
for (image_definition &texture : m_textures) {
|
||||
texture.texture = NULL;
|
||||
|
||||
Reference in New Issue
Block a user