diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-04 00:49:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-04 00:49:33 +0300 |
commit | db57c5be30ff61394b7fff8b0c7fa0101e66d6c0 (patch) | |
tree | 5bd683f3aeb3cfef458eaa45726f3e06c721b3b6 /src/gui/widgets/tabs | |
parent | 1485b138c5b906546381f1ae4a91553a3c2fc6c4 (diff) | |
download | mv-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.gz mv-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.bz2 mv-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.xz mv-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.zip |
improve checking for batch draw mode support by renderer.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index 1f09f28fd..cdaa84d14 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -207,7 +207,7 @@ void Tab::draw(gcn::Graphics *graphics) Graphics *const g = static_cast<Graphics*>(graphics); // draw tab - if (openGLMode != RENDER_SAFE_OPENGL) + if (isBatchDrawRenders(openGLMode)) { const ImageRect &rect = skin->getBorder(); if (mRedraw || mode != mMode || g->getRedraw()) |