diff options
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r-- | src/openglgraphics.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 2f83eea7..3cc1b9e3 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -678,8 +678,7 @@ bool OpenGLGraphics::pushClipArea(gcn::Rectangle area) transY = -mClipStack.top().yOffset; } - // Skip Graphics::popClipArea since we don't need to interact with SDL2 - bool result = gcn::Graphics::pushClipArea(area); + bool result = Graphics::pushClipArea(area); transX += mClipStack.top().xOffset; transY += mClipStack.top().yOffset; @@ -696,8 +695,7 @@ bool OpenGLGraphics::pushClipArea(gcn::Rectangle area) void OpenGLGraphics::popClipArea() { - // Skip Graphics::popClipArea since we don't need to interact with SDL2 - gcn::Graphics::popClipArea(); + Graphics::popClipArea(); if (mClipStack.empty()) return; |