From fcf1da7a161c3e18d393a9b998effc6aa1c366b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Sep 2013 19:10:50 +0300 Subject: fix code style. --- src/graphicsmanager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/graphicsmanager.cpp') 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() -- cgit v1.2.3-70-g09d2