summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 23:11:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 23:11:20 +0300
commitb85fd67fb14f6a49c7e71f2265254150ba7a1240 (patch)
treeba4b7d4eb86b84753580885d067783d6bb4b1968 /src/render/sdl2softwaregraphics.h
parent080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b (diff)
downloadManaVerse-b85fd67fb14f6a49c7e71f2265254150ba7a1240.tar.gz
ManaVerse-b85fd67fb14f6a49c7e71f2265254150ba7a1240.tar.bz2
ManaVerse-b85fd67fb14f6a49c7e71f2265254150ba7a1240.tar.xz
ManaVerse-b85fd67fb14f6a49c7e71f2265254150ba7a1240.zip
add drawImageInline into renders for internal usage.
Diffstat (limited to 'src/render/sdl2softwaregraphics.h')
-rw-r--r--src/render/sdl2softwaregraphics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h
index 231cd1a48..35c50a13e 100644
--- a/src/render/sdl2softwaregraphics.h
+++ b/src/render/sdl2softwaregraphics.h
@@ -188,6 +188,9 @@ class SDL2SoftwareGraphics final : public Graphics
void inline calcTileVertexesInline(ImageVertexes *const vert,
const Image *const image,
int x, int y) const;
+
+ bool inline drawImageInline(const Image *const image,
+ int dstX, int dstY);
};
#endif // USE_SDL2