summaryrefslogtreecommitdiff
path: root/src/touchmanager.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/touchmanager.cpp
parent1d843dd814f92004efbb4574be0d898d4edf6359 (diff)
downloadplus-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/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 38d0ca864..19dca23f9 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -35,7 +35,7 @@
TouchManager touchManager;
-extern int openGLMode;
+extern RenderType openGLMode;
TouchManager::TouchManager() :
mKeyboard(nullptr),
@@ -181,7 +181,7 @@ void TouchManager::clear()
void TouchManager::draw()
{
- if (openGLMode != 2)
+ if (openGLMode != RENDER_SAFE_OPENGL)
{
if (mRedraw)
{