From 080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 22:05:55 +0300 Subject: add calcTileVertexesInline into renders for internal usage. --- src/render/sdl2softwaregraphics.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/render/sdl2softwaregraphics.cpp') diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index cf69312c8..03f6c2e41 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -672,6 +672,14 @@ void SDL2SoftwareGraphics::calcTileVertexes(ImageVertexes *const vert, calcTileSDL(vert, x, y); } +void SDL2SoftwareGraphics::calcTileVertexesInline(ImageVertexes *const vert, + const Image *const image, + int x, int y) const +{ + vert->image = image; + calcTileSDL(vert, x, y); +} + void SDL2SoftwareGraphics::calcTileSDL(ImageVertexes *const vert, int x, int y) const { -- cgit v1.2.3-70-g09d2