1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Reload font manager in main thread to avoid a crash (#15900)

This commit is contained in:
Deve 2025-03-16 17:55:39 +01:00 committed by GitHub
parent 4b85062caf
commit c07499ccfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 4 deletions

View file

@ -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()) {