forked from 0ad/0ad
no message
This was SVN commit r1128.
This commit is contained in:
parent
6e07632775
commit
071bb19282
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user