summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 20:04:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 20:05:30 +0300
commitbbed1413d3ea2ef67f7fd7db146c372a7181ad43 (patch)
treebcfd0e1802df442df157d829e9fc3490877ceb0f /src/render/surfacegraphics.h
parente29a87a240fe2f33c51f4e15067122960f667d66 (diff)
downloadmanaverse-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.tar.gz
manaverse-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.tar.bz2
manaverse-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.tar.xz
manaverse-bbed1413d3ea2ef67f7fd7db146c372a7181ad43.zip
add calcImageRect into each renderer. but copy function body to shared file.
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 2973bc006..8d58fa052 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -146,11 +146,11 @@ class SurfaceGraphics final : public Graphics
const int height A_UNUSED) override final
{ return false; }
- bool calcWindow(ImageCollection *const vertCol A_UNUSED,
+ void calcWindow(ImageCollection *const vertCol A_UNUSED,
const int x A_UNUSED, const int y A_UNUSED,
const int w A_UNUSED, const int h A_UNUSED,
const ImageRect &imgRect A_UNUSED) override final
- { return false; }
+ { }
void setBlitMode(const BlitMode mode)
{ mBlitMode = mode; }