1
0
forked from 0ad/0ad

Fix build

This was SVN commit r10986.
This commit is contained in:
Ykkrosh 2012-01-29 20:16:47 +00:00
parent 04c63a4093
commit 63572a5247
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ void CTextRenderer::Translate(float x, float y, float z)
m_Transform = m_Transform * m;
}
void CTextRenderer::Color(CColor& color)
void CTextRenderer::Color(const CColor& color)
{
m_Color = color;
}

View File

@ -30,12 +30,12 @@ public:
CTextRenderer();
void ResetTransform();
void Translate(float x, float y, float z);
CMatrix3D GetTransform();
void SetTransform(const CMatrix3D& transform);
void Color(CColor& color);
void Translate(float x, float y, float z);
void Color(const CColor& color);
void Font(const CStrW& font);
void Printf(const wchar_t* fmt, ...);