From e29a87a240fe2f33c51f4e15067122960f667d66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 18:45:00 +0300 Subject: add drawPatternInline into renders for internal usage. --- src/render/normalopenglgraphics.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/render/normalopenglgraphics.cpp') diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index 2088214c0..6626564eb 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -516,6 +516,13 @@ bool NormalOpenGLGraphics::drawRescaledImage(const Image *const image, void NormalOpenGLGraphics::drawPattern(const Image *const image, const int x, const int y, const int w, const int h) +{ + drawPatternInline(image, x, y, w, h); +} + +void NormalOpenGLGraphics::drawPatternInline(const Image *const image, + const int x, const int y, + const int w, const int h) { FUNC_BLOCK("Graphics::drawPattern", 1) if (!image) -- cgit v1.2.3-60-g2f50