summaryrefslogtreecommitdiffstats
path: root/modules/text_server_fb/text_server_fb.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-03-03 11:04:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-03-03 11:04:07 +0100
commita8d2e7f34268c34bdbccf592ae476fbfaafcb7d8 (patch)
tree950222aa11bccee8d71e4c7435e641f8c955533b /modules/text_server_fb/text_server_fb.h
parenta2ecbb7c37a740058319655f918a27ced65a555a (diff)
parentc950a1ab9479e53f8b91d457f44cea9246e24e4e (diff)
downloadredot-engine-a8d2e7f34268c34bdbccf592ae476fbfaafcb7d8.tar.gz
Merge pull request #73987 from bruvzg/ft_lock
[TextServer] Add mutex for FreeType face creation/deletion operations.
Diffstat (limited to 'modules/text_server_fb/text_server_fb.h')
-rw-r--r--modules/text_server_fb/text_server_fb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/text_server_fb/text_server_fb.h b/modules/text_server_fb/text_server_fb.h
index 12ed21ee95..d9e471154d 100644
--- a/modules/text_server_fb/text_server_fb.h
+++ b/modules/text_server_fb/text_server_fb.h
@@ -531,6 +531,8 @@ class TextServerFallback : public TextServerExtension {
void _realign(ShapedTextDataFallback *p_sd) const;
+ Mutex ft_mutex;
+
protected:
static void _bind_methods(){};