summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
commit8f018529676006ed744138a929fcc621694d6d75 (patch)
tree03ef706a48100c1bb42a4611add5601844d2cbf5 /src/render/nullopenglgraphics.h
parentad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff)
downloadplus-8f018529676006ed744138a929fcc621694d6d75.tar.gz
plus-8f018529676006ed744138a929fcc621694d6d75.tar.bz2
plus-8f018529676006ed744138a929fcc621694d6d75.tar.xz
plus-8f018529676006ed744138a929fcc621694d6d75.zip
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/render/nullopenglgraphics.h')
-rw-r--r--src/render/nullopenglgraphics.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/render/nullopenglgraphics.h b/src/render/nullopenglgraphics.h
index 82285f90d..bf424bb8d 100644
--- a/src/render/nullopenglgraphics.h
+++ b/src/render/nullopenglgraphics.h
@@ -82,28 +82,28 @@ class NullOpenGLGraphics 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,