diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/graphics.cpp | 8 | ||||
-rw-r--r-- | src/render/graphics.h | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 4542a33ae..63ce578e4 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -639,14 +639,6 @@ void Graphics::popClipArea() mClipStack.pop(); } -const ClipRect *Graphics::getCurrentClipArea() const -{ - if (mClipStack.empty()) - return nullptr; - - return &mClipStack.topConst(); -} - #ifdef USE_OPENGL void Graphics::setOpenGLFlags() { diff --git a/src/render/graphics.h b/src/render/graphics.h index c43471f66..62a3848d7 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -409,14 +409,6 @@ class Graphics notfinal */ virtual void drawRectangle(const Rect &rectangle) = 0; - /** - * Gets the current clip area. Usefull if you want to do drawing - * bypassing Graphics. - * - * @return The current clip area. - */ - virtual const ClipRect *getCurrentClipArea() const; - #ifdef USE_OPENGL virtual void createGLContext(); #endif |