diff options
Diffstat (limited to 'src/render/mobileopenglgraphics.h')
-rw-r--r-- | src/render/mobileopenglgraphics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h index ea85beee1..08e1979f2 100644 --- a/src/render/mobileopenglgraphics.h +++ b/src/render/mobileopenglgraphics.h @@ -75,6 +75,13 @@ class MobileOpenGLGraphics 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; } |