summaryrefslogtreecommitdiff
path: root/src/render/graphicsdef.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-29 23:14:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-29 23:39:00 +0300
commitab7cbe78ea676d5932881152631e6a6eafa530de (patch)
tree47610db47cbaeb0a8e275f7dc35524b1e87b756c /src/render/graphicsdef.hpp
parentd02762b6dc35e1564e5d1cc7458458f824f251f9 (diff)
downloadmanaverse-ab7cbe78ea676d5932881152631e6a6eafa530de.tar.gz
manaverse-ab7cbe78ea676d5932881152631e6a6eafa530de.tar.bz2
manaverse-ab7cbe78ea676d5932881152631e6a6eafa530de.tar.xz
manaverse-ab7cbe78ea676d5932881152631e6a6eafa530de.zip
Remove useless bool return value from renderers.
Diffstat (limited to 'src/render/graphicsdef.hpp')
-rw-r--r--src/render/graphicsdef.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp
index 19282584c..b02c7201f 100644
--- a/src/render/graphicsdef.hpp
+++ b/src/render/graphicsdef.hpp
@@ -33,14 +33,14 @@ public:
void endDraw();
- bool pushClipArea(const Rect &area) override final;
+ void pushClipArea(const Rect &area) override final;
void popClipArea() override final;
/**
* Draws a resclaled version of the image
*/
- bool drawRescaledImage(const Image *const image,
+ void drawRescaledImage(const Image *const image,
int dstX, int dstY,
const int desiredWidth,
const int desiredHeight) override final;
@@ -111,10 +111,10 @@ public:
const bool resize,
const bool noFrame) override final;
- bool drawImage(const Image *const image,
+ void drawImage(const Image *const image,
int dstX, int dstY) override final;
- bool copyImage(const Image *const image,
+ void copyImage(const Image *const image,
int dstX, int dstY) override final;
void drawImageCached(const Image *const image,
@@ -141,5 +141,5 @@ private:
const Image *const image,
int x, int y) const;
- bool inline drawImageInline(const Image *const image,
+ void inline drawImageInline(const Image *const image,
int dstX, int dstY);