mirror of
https://github.com/godotengine/godot.git
synced 2025-04-07 00:44:24 +08:00
Merge pull request #61633 from timothyqiu/freetype-free
Fix build error when FreeType is disabled
This commit is contained in:
commit
f606225608
@ -5640,8 +5640,10 @@ TextServerAdvanced::TextServerAdvanced() {
|
||||
|
||||
TextServerAdvanced::~TextServerAdvanced() {
|
||||
_bmp_free_font_funcs();
|
||||
#ifdef MODULE_FREETYPE_ENABLED
|
||||
if (ft_library != nullptr) {
|
||||
FT_Done_FreeType(ft_library);
|
||||
}
|
||||
#endif
|
||||
u_cleanup();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user