mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-25 21:48:41 -06:00
Merge branch 'feature/fontrendering' of openspace.itn.liu.se:/openspace into feature/fontrendering
This commit is contained in:
@@ -583,7 +583,9 @@ void OpenSpaceEngine::loadFonts2() {
|
||||
ghoul::Dictionary fonts;
|
||||
configurationManager()->getValue(ConfigurationManager::KeyFonts, fonts);
|
||||
|
||||
_fontManager = new ghoul::fontrendering::FontManager;
|
||||
const glm::ivec3 fontAtlasSize{1024, 1024, 1};
|
||||
_fontManager = new ghoul::fontrendering::FontManager(fontAtlasSize);
|
||||
|
||||
for (const std::string& key : fonts.keys()) {
|
||||
std::string font;
|
||||
fonts.getValue(key, font);
|
||||
|
||||
Reference in New Issue
Block a user