Change naming slightly, it conflicts with DrawText function define on

windows on MinGW
This commit is contained in:
Antony Riakiotakis
2014-04-30 11:53:41 +03:00
parent 7829ef0051
commit 6ab3a2f8a4
3 changed files with 3 additions and 3 deletions

View File

@@ -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"))

View File

@@ -45,7 +45,7 @@ public:
virtual ~KX_FontObject();
void DrawText();
void DrawFontText();
/**
* Inherited from CValue -- return a new copy of this

View File

@@ -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;
}
}