Change naming slightly, it conflicts with DrawText function define on
windows on MinGW
This commit is contained in:
@@ -166,7 +166,7 @@ int GetFontId(VFont *vfont)
|
||||
return fontid;
|
||||
}
|
||||
|
||||
void KX_FontObject::DrawText()
|
||||
void KX_FontObject::DrawFontText()
|
||||
{
|
||||
/* Allow for some logic brick control */
|
||||
if (this->GetProperty("Text"))
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
virtual ~KX_FontObject();
|
||||
|
||||
void DrawText();
|
||||
void DrawFontText();
|
||||
|
||||
/**
|
||||
* Inherited from CValue -- return a new copy of this
|
||||
|
||||
@@ -1742,7 +1742,7 @@ void KX_Scene::RenderFonts()
|
||||
{
|
||||
list<KX_FontObject*>::iterator it = m_fonts.begin();
|
||||
while (it != m_fonts.end()) {
|
||||
(*it)->DrawText();
|
||||
(*it)->DrawFontText();
|
||||
++it;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user