summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-13 19:10:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-13 21:20:33 +0300
commitfcf1da7a161c3e18d393a9b998effc6aa1c366b9 (patch)
tree5f92a8a168dd0748903cc90620a00c7c7bd29377 /src/graphicsmanager.cpp
parentcd0baf3217701134a8e61932fd14c39cec0cf242 (diff)
downloadmv-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.gz
mv-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.bz2
mv-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.xz
mv-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.zip
fix code style.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 73ed3d88a..8891c1856 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -253,6 +253,8 @@ void GraphicsManager::initGraphics(const bool noOpenGL)
#ifndef USE_SDL2
case RENDER_SDL2_DEFAULT:
#endif
+ case RENDER_LAST:
+ case RENDER_NULL:
default:
#ifndef ANDROID
imageHelper = new OpenGLImageHelper;
@@ -305,6 +307,8 @@ void GraphicsManager::initGraphics(const bool noOpenGL A_UNUSED)
case RENDER_SAFE_OPENGL:
case RENDER_GLES_OPENGL:
case RENDER_NORMAL_OPENGL:
+ case RENDER_NULL:
+ case RENDER_LAST:
default:
#ifndef USE_SDL2
case RENDER_SDL2_DEFAULT:
@@ -328,9 +332,7 @@ void GraphicsManager::initGraphics(const bool noOpenGL A_UNUSED)
break;
#endif
};
-
#endif // USE_OPENGL
-
}
void GraphicsManager::setVideoMode()