summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h
index c134caa2d..469c4cda0 100644
--- a/src/safeopenglgraphics.h
+++ b/src/safeopenglgraphics.h
@@ -89,10 +89,27 @@ class SafeOpenGLGraphics final : public Graphics
void calcTile(ImageCollection *const vertCol,
const Image *const image, int x, int y) override;
+ void calcImagePattern(ImageVertexes *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const;
+
+ void calcImagePattern(ImageCollection *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const;
+
void drawTile(const ImageVertexes *const vert) override;
+ void drawTile(const ImageCollection *const vertCol) override;
+
void updateScreen() override;
+ bool calcWindow(ImageCollection *const vertCol,
+ const int x, const int y,
+ const int w, const int h,
+ const ImageRect &imgRect);
+
void _beginDraw();
void _endDraw();