From b85fd67fb14f6a49c7e71f2265254150ba7a1240 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 23:11:20 +0300 Subject: add drawImageInline into renders for internal usage. --- src/render/graphics_drawImageRect.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/render/graphics_drawImageRect.hpp') diff --git a/src/render/graphics_drawImageRect.hpp b/src/render/graphics_drawImageRect.hpp index 5c4bba0a1..28157fafd 100644 --- a/src/render/graphics_drawImageRect.hpp +++ b/src/render/graphics_drawImageRect.hpp @@ -67,15 +67,15 @@ if (top && left && bottom && right) // Draw the corners if (drawMain) { - drawImage2(topLeft, x, y); + drawImageInline(topLeft, x, y); const int trw = topRight->getWidth(); if (w > trw) - drawImage2(topRight, x + w - trw, y); - drawImage2(bottomLeft, x, h - bottomLeft->getHeight() + y); + drawImageInline(topRight, x + w - trw, y); + drawImageInline(bottomLeft, x, h - bottomLeft->getHeight() + y); const int brw = bottomRight->getWidth(); if (w > brw) { - drawImage2(bottomRight, + drawImageInline(bottomRight, x + w - brw, y + h - bottomRight->getHeight()); } -- cgit v1.2.3-60-g2f50