mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-10 03:55:20 +01:00
Reload font manager in main thread to avoid a crash (#15900)
This commit is contained in:
@@ -337,6 +337,8 @@ void GUIEngine::run()
|
||||
fps_control.limit(device, &dtime);
|
||||
framemarker.start();
|
||||
|
||||
g_fontengine->handleReload();
|
||||
|
||||
if (device->isWindowVisible()) {
|
||||
// check if we need to update the "upper left corner"-text
|
||||
if (text_height != g_fontengine->getTextHeight()) {
|
||||
|
||||
Reference in New Issue
Block a user