diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-02 21:02:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-02 21:02:34 +0300 |
commit | 370cb1fa897604e5d7bf9543881afad80f45f3ba (patch) | |
tree | 66ea88a44010ebeb13ec6258b37b9a93e04c909d /src/gui/widgets/scrollarea.cpp | |
parent | 1d843dd814f92004efbb4574be0d898d4edf6359 (diff) | |
download | plus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.gz plus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.bz2 plus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.xz plus-370cb1fa897604e5d7bf9543881afad80f45f3ba.zip |
dehardcode some mode render mode constans usage.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index ec03e5cea..03466b90e 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -262,7 +262,7 @@ void ScrollArea::draw(gcn::Graphics *graphics) BLOCK_START("ScrollArea::draw") if (mVBarVisible || mHBarVisible) { - if (openGLMode != 2) + if (openGLMode != RENDER_SAFE_OPENGL) { if (!mOpaque) updateCalcFlag(graphics); @@ -363,7 +363,7 @@ void ScrollArea::drawFrame(gcn::Graphics *graphics) updateCalcFlag(graphics); - if (openGLMode != 2) + if (openGLMode != RENDER_SAFE_OPENGL) { if (mRedraw) { |