Skip to content

Commit

Permalink
Merge pull request #165 from caishanli/master
Browse files Browse the repository at this point in the history
fix createFont unuse default param FTGLFontType
  • Loading branch information
febret committed Dec 23, 2015
2 parents 3137d5e + d21370a commit 267860f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omega/DrawInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ Font* DrawInterface::getFont(omega::String fontName, FTGLFontType type)
}
String fontFile = args[0];
int fontSize = boost::lexical_cast<int>(args[1]);
return createFont(fontName, fontFile, fontSize);
return createFont(fontName, fontFile, fontSize, type);
}

///////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 267860f

Please sign in to comment.