mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-05 11:58:42 -06:00
OS X compile fixes
This commit is contained in:
@@ -222,6 +222,10 @@ void OpenSpaceEngine::loadFonts() {
|
||||
std::string font;
|
||||
fonts.getValue(key, font);
|
||||
font = absPath(font);
|
||||
if(!FileSys.fileExists(font)) {
|
||||
LERROR("Could not find font '" << font << "'");
|
||||
continue;
|
||||
}
|
||||
|
||||
LINFO("Registering font '" << font << "' with key '" << key << "'");
|
||||
sgct_text::FontManager::instance()->addFont(key, font, local);
|
||||
|
||||
Reference in New Issue
Block a user