From 071bb192828084ada21fb0585c73634d7f4926bc Mon Sep 17 00:00:00 2001 From: Gee Date: Mon, 6 Sep 2004 03:05:36 +0000 Subject: [PATCH] no message This was SVN commit r1128. --- source/gui/CGUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/CGUI.cpp b/source/gui/CGUI.cpp index d40ab12f2c..9e4022c52c 100755 --- a/source/gui/CGUI.cpp +++ b/source/gui/CGUI.cpp @@ -927,7 +927,7 @@ void CGUI::DrawText(const SGUIText &Text, const CColor &DefaultColor, glPushMatrix(); // TODO Gee: (2004-09-04) Why are font corrupted if inputted float value? - glTranslatef((int)(pos.x+it->m_Pos.x), (int)(pos.y+it->m_Pos.y), z); + glTranslatef((GLfloat)int(pos.x+it->m_Pos.x), (GLfloat)int(pos.y+it->m_Pos.y), z); glColor4f(color.r, color.g, color.b, color.a); glwprintf(it->m_String);