From d21370ad5ae0aebe01914ec78f0d85349cf37768 Mon Sep 17 00:00:00 2001 From: Cai Shanli Date: Wed, 23 Dec 2015 10:59:39 +0800 Subject: [PATCH] Update DrawInterface.cpp use FTGLFontType param to createFont in DrawInterface::getFont --- src/omega/DrawInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omega/DrawInterface.cpp b/src/omega/DrawInterface.cpp index 64c6b5db..40dd2ad0 100644 --- a/src/omega/DrawInterface.cpp +++ b/src/omega/DrawInterface.cpp @@ -517,7 +517,7 @@ Font* DrawInterface::getFont(omega::String fontName, FTGLFontType type) } String fontFile = args[0]; int fontSize = boost::lexical_cast(args[1]); - return createFont(fontName, fontFile, fontSize); + return createFont(fontName, fontFile, fontSize, type); } ///////////////////////////////////////////////////////////////////////////////