tweaked text shadow to enhance readabilty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
dfc2545b4c
commit
3fb5ac5a98
@ -154,8 +154,8 @@ void Font::PrintBold(const std::string &text, int size, int x, int y,
|
||||
// print shadow
|
||||
// ------------
|
||||
glColor4f(0.0f,0.0f,0.0f,1.0f);
|
||||
float xf=(GLfloat)x+3;
|
||||
float yf=(GLfloat)y-3;
|
||||
float xf=(GLfloat)x+2;
|
||||
float yf=(GLfloat)y-2;
|
||||
for(float r=-1; r<=0; r+=0.5)
|
||||
{
|
||||
m_text_out->start2f(xf-r, yf-r);
|
||||
|
Loading…
Reference in New Issue
Block a user