summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r--src/gui/widgets/tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp
index ac91442fb..f1dc59c60 100644
--- a/src/gui/widgets/tab.cpp
+++ b/src/gui/widgets/tab.cpp
@@ -221,7 +221,7 @@ void Tab::draw(gcn::Graphics *graphics)
if (skin)
{
// draw tab
- if (openGLMode != 2)
+ if (openGLMode != RENDER_SAFE_OPENGL)
{
const ImageRect &rect = skin->getBorder();
if (mRedraw || mode != mMode || g->getRedraw())