- fix for windows compile with new fontconfig changes
This commit is contained in:
parent
fe72cb629b
commit
33674256a3
|
@ -38,7 +38,7 @@ TextFreetypeGL::TextFreetypeGL(FontTextHandlerType type) : Text(type) {
|
|||
font=NULL;
|
||||
manager=NULL;
|
||||
|
||||
init("", 24);
|
||||
init("", "", 24);
|
||||
}
|
||||
|
||||
TextFreetypeGL::~TextFreetypeGL() {
|
||||
|
@ -78,7 +78,7 @@ void TextFreetypeGL::init(string fontName, string fontFamilyName, int fontSize)
|
|||
|
||||
void TextFreetypeGL::SetFaceSize(int value) {
|
||||
this->fontFaceSize = value;
|
||||
init(this->fontName,this->fontFaceSize);
|
||||
init(this->fontName,this->fontFamilyName,this->fontFaceSize);
|
||||
}
|
||||
|
||||
int TextFreetypeGL::GetFaceSize() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user