Merge remote-tracking branch 'origin/master' into TextRendering
# Conflicts: # include/Engine/Rendering/RenderQueue.h # include/Engine/Rendering/RenderSystem.h # include/Game/Game.h # resources/Schema/Types/Entity.xsd # src/Engine/Rendering/RenderSystem.cpp
This commit is contained in:
@@ -17,10 +17,9 @@ Font::Font(std::string path)
|
||||
it++;
|
||||
if (it != tok.end()) {
|
||||
try {
|
||||
LOG_INFO("DFhdoölshöldsihjgf");
|
||||
fontSize = boost::lexical_cast<int>((*it).c_str());
|
||||
} catch (boost::bad_lexical_cast const&) {
|
||||
std::cout << "Error: input string was not valid" << std::endl;
|
||||
LOG_ERROR("input string did not have a valid font resolution");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -28,7 +27,6 @@ Font::Font(std::string path)
|
||||
}
|
||||
|
||||
|
||||
|
||||
FT_Library library;
|
||||
|
||||
if (FT_Init_FreeType(&library)) {
|
||||
|
||||
Reference in New Issue
Block a user