summaryrefslogtreecommitdiff
path: root/modules/text_server_fb
diff options
context:
space:
mode:
Diffstat (limited to 'modules/text_server_fb')
-rw-r--r--modules/text_server_fb/text_server_fb.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/text_server_fb/text_server_fb.cpp b/modules/text_server_fb/text_server_fb.cpp
index 9133c277bb..353d370f14 100644
--- a/modules/text_server_fb/text_server_fb.cpp
+++ b/modules/text_server_fb/text_server_fb.cpp
@@ -1246,10 +1246,7 @@ void TextServerFallback::_font_set_allow_system_fallback(const RID &p_font_rid,
ERR_FAIL_COND(!fd);
MutexLock lock(fd->mutex);
- if (fd->allow_system_fallback != p_allow_system_fallback) {
- _font_clear_cache(fd);
- fd->allow_system_fallback = p_allow_system_fallback;
- }
+ fd->allow_system_fallback = p_allow_system_fallback;
}
bool TextServerFallback::_font_is_allow_system_fallback(const RID &p_font_rid) const {