diff options
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r-- | src/render/safeopenglgraphics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h index 8d9b38e5a..a6a32771c 100644 --- a/src/render/safeopenglgraphics.h +++ b/src/render/safeopenglgraphics.h @@ -52,6 +52,13 @@ class SafeOpenGLGraphics final : public Graphics #include "render/openglgraphicsdef.hpp" + /** + * 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); + protected: void setTexturingAndBlending(const bool enable); |