From 8f018529676006ed744138a929fcc621694d6d75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Dec 2013 13:27:26 +0300 Subject: In renderers replace ImagePattern in methods into Pattern. --- src/render/normalopenglgraphics.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/render/normalopenglgraphics.h') diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h index 7042cf413..a62a97df7 100644 --- a/src/render/normalopenglgraphics.h +++ b/src/render/normalopenglgraphics.h @@ -82,28 +82,28 @@ class NormalOpenGLGraphics final : public Graphics const int desiredWidth, const int desiredHeight, const bool useColor, bool smooth); - void drawImagePattern(const Image *const image, - const int x, const int y, - const int w, const int h) override final; + void drawPattern(const Image *const image, + const int x, const int y, + const int w, const int h) override final; /** * Draw a pattern based on a rescaled version of the given image... */ - void drawRescaledImagePattern(const Image *const image, - const int x, const int y, - const int w, const int h, - const int scaledWidth, - const int scaledHeight) override final; - - void calcImagePattern(ImageVertexes* const vert, - const Image *const image, - const int x, const int y, - const int w, const int h) const override final; - - void calcImagePattern(ImageCollection* const vert, - const Image *const image, - const int x, const int y, - const int w, const int h) const override final; + void drawRescaledPattern(const Image *const image, + const int x, const int y, + const int w, const int h, + const int scaledWidth, + const int scaledHeight) override final; + + void calcPattern(ImageVertexes* const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const override final; + + void calcPattern(ImageCollection* const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const override final; void calcTileVertexes(ImageVertexes *const vert, const Image *const image, -- cgit v1.2.3-60-g2f50