summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-02 21:02:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-02 21:02:34 +0300
commit370cb1fa897604e5d7bf9543881afad80f45f3ba (patch)
tree66ea88a44010ebeb13ec6258b37b9a93e04c909d /src/gui/equipmentwindow.cpp
parent1d843dd814f92004efbb4574be0d898d4edf6359 (diff)
downloadmanaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.gz
manaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.bz2
manaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.xz
manaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.zip
dehardcode some mode render mode constans usage.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index af010a2d6..8e51dae72 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -161,7 +161,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
gcn::Font *const font = getFont();
const int fontHeight = font->getHeight();
- if (openGLMode != 2)
+ if (openGLMode != RENDER_SAFE_OPENGL)
{
if (mLastRedraw)
{