summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/normalopenglgraphics.h')
-rw-r--r--src/render/normalopenglgraphics.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h
index 3a888caca..62d0fffb6 100644
--- a/src/render/normalopenglgraphics.h
+++ b/src/render/normalopenglgraphics.h
@@ -85,6 +85,13 @@ class NormalOpenGLGraphics final : public Graphics
void initArrays() override final;
+ /**
+ * Draws a rectangle using images. 4 corner images, 4 side images and 1
+ * image for the inside.
+ */
+ void drawImageRect(int x, int y, int w, int h,
+ const ImageRect &imgRect);
+
#ifdef DEBUG_DRAW_CALLS
unsigned int getDrawCalls() const
{ return mLastDrawCalls; }