summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 00:42:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 00:42:06 +0300
commit5546ac2f1a459b3fba47b42d546469cdae3c1c27 (patch)
tree311576ac10867d5c116c1e13bd542f05be3ebe64 /src/render/sdl2softwaregraphics.cpp
parent53d28e67f8b7966596818af7cbfd360df241b332 (diff)
downloadplus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.gz
plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.bz2
plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.xz
plus-5546ac2f1a459b3fba47b42d546469cdae3c1c27.zip
rename drawTile methods into separate names drawTileVertexes, drawTileCollection.
Diffstat (limited to 'src/render/sdl2softwaregraphics.cpp')
-rw-r--r--src/render/sdl2softwaregraphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 156f8a412..7556bc5ac 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -511,7 +511,8 @@ void SDL2SoftwareGraphics::calcTileCollection(ImageCollection *const vertCol,
}
}
-void SDL2SoftwareGraphics::drawTile(const ImageCollection *const vertCol)
+void SDL2SoftwareGraphics::drawTileCollection(const ImageCollection
+ *const vertCol)
{
const ImageVertexesVector &draws = vertCol->draws;
const ImageCollectionCIter it_end = draws.end();
@@ -531,7 +532,7 @@ void SDL2SoftwareGraphics::drawTile(const ImageCollection *const vertCol)
}
}
-void SDL2SoftwareGraphics::drawTile(const ImageVertexes *const vert)
+void SDL2SoftwareGraphics::drawTileVertexes(const ImageVertexes *const vert)
{
// vert and img must be != 0
const Image *const img = vert->image;