diff options
Diffstat (limited to 'src/render/sdlgraphics.h')
-rw-r--r-- | src/render/sdlgraphics.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/render/sdlgraphics.h b/src/render/sdlgraphics.h index 6fb1fd337..b66242f79 100644 --- a/src/render/sdlgraphics.h +++ b/src/render/sdlgraphics.h @@ -115,7 +115,7 @@ class SDLGraphics final : public Graphics const int x2, const int y2, const int width, const int height) override final; - bool calcWindow(ImageCollection *const vertCol, + void calcWindow(ImageCollection *const vertCol, const int x, const int y, const int w, const int h, const ImageRect &imgRect) override final; @@ -166,6 +166,13 @@ class SDLGraphics final : public Graphics uint32_t mOldPixel; int mOldAlpha; + + private: + void inline calcImageRect(ImageVertexes *const vert, + int x, int y, + int w, int h, + const ImageRect &imgRect); + }; #endif // USE_SDL2 |