1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +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

@ -970,6 +970,8 @@ void Game::run()
framemarker.start();
g_fontengine->handleReload();
const auto current_dynamic_info = ClientDynamicInfo::getCurrent();
if (!current_dynamic_info.equal(client_display_info)) {
client_display_info = current_dynamic_info;