OGL: draw shadows within rasterfont itself

This commit is contained in:
degasus
2014-12-20 13:31:41 +01:00
parent fb177ca04e
commit 3f9b52e555
5 changed files with 12 additions and 13 deletions

View File

@ -275,6 +275,7 @@ Renderer::~Renderer()
void Renderer::RenderText(const std::string& text, int left, int top, u32 color)
{
D3D::font.DrawTextScaled((float)(left+1), (float)(top+1), 20.f, 0.0f, color & 0xFF000000, text);
D3D::font.DrawTextScaled((float)left, (float)top, 20.f, 0.0f, color, text);
}