summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 22:05:55 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 22:05:55 +0300
commit080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b (patch)
treeadb12b2ed2020fc5c636d3c5cb7ba1ee0636f9e0 /src/render/sdl2softwaregraphics.h
parent9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 (diff)
downloadplus-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.tar.gz
plus-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.tar.bz2
plus-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.tar.xz
plus-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.zip
add calcTileVertexesInline into renders for internal usage.
Diffstat (limited to 'src/render/sdl2softwaregraphics.h')
-rw-r--r--src/render/sdl2softwaregraphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h
index dee69bfeb..231cd1a48 100644
--- a/src/render/sdl2softwaregraphics.h
+++ b/src/render/sdl2softwaregraphics.h
@@ -184,6 +184,10 @@ class SDL2SoftwareGraphics final : public Graphics
const Image *const image,
const int x, const int y,
const int w, const int h) const;
+
+ void inline calcTileVertexesInline(ImageVertexes *const vert,
+ const Image *const image,
+ int x, int y) const;
};
#endif // USE_SDL2