mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Hide unused symbols when building with TTF support disabled (#16459)
This commit is contained in:
committed by
GitHub
parent
f4c30ba63a
commit
225ecccd7d
@@ -315,6 +315,7 @@ namespace Platform
|
||||
return {};
|
||||
}
|
||||
|
||||
# ifndef NO_TTF
|
||||
std::string GetFontPath(const TTFFontDescriptor& font)
|
||||
{
|
||||
log_verbose("Looking for font %s with FontConfig.", font.font_name);
|
||||
@@ -371,6 +372,7 @@ namespace Platform
|
||||
FcFini();
|
||||
return path;
|
||||
}
|
||||
# endif // NO_TTF
|
||||
} // namespace Platform
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user