diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-21 06:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-21 06:09:30 +0300 |
commit | 005d429599088b523e4f62326824c7fb51ba9c63 (patch) | |
tree | dccce15cf132bae28c85be897d5f7cc33299ea17 /src/gui/widgets/progressbar.cpp | |
parent | 8037d33c9f429d4c0322da383cdda46776c3c14e (diff) | |
download | ManaVerse-005d429599088b523e4f62326824c7fb51ba9c63.tar.gz ManaVerse-005d429599088b523e4f62326824c7fb51ba9c63.tar.bz2 ManaVerse-005d429599088b523e4f62326824c7fb51ba9c63.tar.xz ManaVerse-005d429599088b523e4f62326824c7fb51ba9c63.zip |
Fix draw issue in SDL after vertex precalculation.
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r-- | src/gui/widgets/progressbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index 0916d9976..bbde65207 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -204,7 +204,7 @@ void ProgressBar::render(Graphics *graphics, const gcn::Rectangle &area, gcn::Font *oldFont = graphics->getFont(); gcn::Color oldColor = graphics->getColor(); - if (*redraw) + if (*redraw || graphics->getRedraw()) { *redraw = false; static_cast<Graphics*>(graphics)->calcWindow(vert, |