Fixed int to float conversion warnings in overlay.cpp.

ver1_6_1
Chris Laurel 2008-05-21 00:06:36 +00:00
parent 71fa8d6ece
commit 7504cf0c5e
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ void Overlay::print(wchar_t c)
if (textBlock > 0)
{
glPopMatrix();
glTranslatef(0, -(1 + font->getHeight()), 0);
glTranslatef(0.0f, (float) -(1 + font->getHeight()), 0.0f);
glPushMatrix();
}
break;
@ -142,7 +142,7 @@ void Overlay::print(char c)
if (textBlock > 0)
{
glPopMatrix();
glTranslatef(0, -(1 + font->getHeight()), 0);
glTranslatef(0.0f, (float) -(1 + font->getHeight()), 0.0f);
glPushMatrix();
}
break;