summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r--src/render/safeopenglgraphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h
index a6a32771c..5a8d7daa4 100644
--- a/src/render/safeopenglgraphics.h
+++ b/src/render/safeopenglgraphics.h
@@ -67,6 +67,11 @@ class SafeOpenGLGraphics final : public Graphics
void inline restoreColor();
+ void inline calcImageRect(ImageVertexes *const vert,
+ int x, int y,
+ int w, int h,
+ const ImageRect &imgRect);
+
bool mTexture;
bool mIsByteColor;
gcn::Color mByteColor;