diff options
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r-- | src/touchmanager.cpp | 4 |
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) { |