From 9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 21:21:40 +0300 Subject: add calcPatternInline into renders for internal usage. --- src/render/sdl2graphics.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/sdl2graphics.h') diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h index b7e430f16..2e40e932f 100644 --- a/src/render/sdl2graphics.h +++ b/src/render/sdl2graphics.h @@ -168,6 +168,10 @@ class SDLGraphics final : public Graphics int w, int h, const ImageRect &imgRect); + void inline calcPatternInline(ImageVertexes *const vert, + const Image *const image, + const int x, const int y, + const int w, const int h) const; }; #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2