From d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Dec 2013 16:59:21 +0300 Subject: Improve a bit separate images drawing. --- src/gui/sdlfont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/sdlfont.cpp') diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index b0596418d..74ae3ef88 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -483,7 +483,7 @@ void SDLFont::drawString(gcn::Graphics *const graphics, if (image) { image->setAlpha(alpha); - g->drawImage(image, x, y); + DRAW_IMAGE(g, image, x, y); } } else @@ -505,7 +505,7 @@ void SDLFont::drawString(gcn::Graphics *const graphics, const Image *const image = chunk2->img; if (image) - g->drawImage(image, x, y); + DRAW_IMAGE(g, image, x, y); } BLOCK_END("SDLFont::drawString") } -- cgit v1.2.3-60-g2f50