summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-21 04:08:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-21 13:19:22 +0300
commit459c2c3a6decbd5576760040f566f1544645c3ac (patch)
tree16917971820b11a99acc4f875f977811e4474670 /src/graphicsvertexes.cpp
parent08d0c6de4aa164c690d94622e4a6a6ea57a9efaf (diff)
downloadmanaverse-459c2c3a6decbd5576760040f566f1544645c3ac.tar.gz
manaverse-459c2c3a6decbd5576760040f566f1544645c3ac.tar.bz2
manaverse-459c2c3a6decbd5576760040f566f1544645c3ac.tar.xz
manaverse-459c2c3a6decbd5576760040f566f1544645c3ac.zip
Add some consts to draw backend.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index aefe594fd..3574ffe27 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -270,6 +270,11 @@ std::vector<DoubleRect*> *GraphicsVertexes::getRectsSDL()
return &sdl[mPtr].mList;
}
+const std::vector<DoubleRect*> *GraphicsVertexes::getRectsSDLconst() const
+{
+ return &sdl[mPtr].mList;
+}
+
ImageVertexes::ImageVertexes() :
image(nullptr)
{