summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
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/surfacegraphics.h
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/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 7150b6ede..72833bd55 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -63,18 +63,18 @@ class SurfaceGraphics final : public Graphics
void endDraw() override final
{ }
- bool pushClipArea(const Rect &rect A_UNUSED) override final
- { return true; }
+ void pushClipArea(const Rect &rect A_UNUSED) override final
+ { }
void popClipArea() override final
{ }
- bool drawRescaledImage(const Image *const image A_UNUSED,
+ void drawRescaledImage(const Image *const image A_UNUSED,
int dstX A_UNUSED, int dstY A_UNUSED,
const int desiredWidth A_UNUSED,
const int desiredHeight A_UNUSED)
override final
- { return false; }
+ { }
void drawPattern(const Image *const image A_UNUSED,
const int x A_UNUSED,
@@ -138,13 +138,13 @@ class SurfaceGraphics final : public Graphics
SDL_Surface *getScreenshot() override final A_WARN_UNUSED
{ return nullptr; }
- bool drawNet(const int x1 A_UNUSED,
+ void drawNet(const int x1 A_UNUSED,
const int y1 A_UNUSED,
const int x2 A_UNUSED,
const int y2 A_UNUSED,
const int width A_UNUSED,
const int height A_UNUSED) override final
- { return false; }
+ { }
void calcWindow(ImageCollection *const vertCol A_UNUSED,
const int x A_UNUSED, const int y A_UNUSED,
@@ -179,10 +179,10 @@ class SurfaceGraphics final : public Graphics
const bool noFrame A_UNUSED) override final
{ return false; }
- 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,