summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-21 06:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-21 06:09:30 +0300
commit005d429599088b523e4f62326824c7fb51ba9c63 (patch)
treedccce15cf132bae28c85be897d5f7cc33299ea17 /src/gui/widgets/tab.cpp
parent8037d33c9f429d4c0322da383cdda46776c3c14e (diff)
downloadplus-005d429599088b523e4f62326824c7fb51ba9c63.tar.gz
plus-005d429599088b523e4f62326824c7fb51ba9c63.tar.bz2
plus-005d429599088b523e4f62326824c7fb51ba9c63.tar.xz
plus-005d429599088b523e4f62326824c7fb51ba9c63.zip
Fix draw issue in SDL after vertex precalculation.
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r--src/gui/widgets/tab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp
index 73ffff30e..5e4a147c0 100644
--- a/src/gui/widgets/tab.cpp
+++ b/src/gui/widgets/tab.cpp
@@ -190,7 +190,8 @@ void Tab::draw(gcn::Graphics *graphics)
updateAlpha();
// draw tab
- if (mRedraw || mode != mMode)
+ if (mRedraw || mode != mMode
+ || static_cast<Graphics*>(graphics)->getRedraw())
{
mMode = mode;
mRedraw = false;