summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-13 22:23:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-13 22:23:22 +0300
commit362f35430a2edd76885f6cd8f3e4565260d2101a (patch)
tree22d8092d1611f252abdeaf09fc342628f1d87da1 /src/render/graphics.cpp
parentaa03bdb26c736e7d506d656a5529cf6a4e9fe6b4 (diff)
downloadmv-362f35430a2edd76885f6cd8f3e4565260d2101a.tar.gz
mv-362f35430a2edd76885f6cd8f3e4565260d2101a.tar.bz2
mv-362f35430a2edd76885f6cd8f3e4565260d2101a.tar.xz
mv-362f35430a2edd76885f6cd8f3e4565260d2101a.zip
Remove duplicate function from graphics.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp8
1 files changed, 0 insertions, 8 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()
{