diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/graphicsmanager.cpp | 1 | ||||
-rw-r--r-- | src/resources/sdl2imagehelper.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 471bcb630..cda6f801f 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -270,7 +270,6 @@ void GraphicsManager::initGraphics(const bool noOpenGL) break; #ifdef USE_SDL2 case RENDER_SDL2_DEFAULT: - // for debug SDL2 default is same as software mode imageHelper = new SDLImageHelper; surfaceImageHelper = new SurfaceImageHelper; mainGraphics = new SDLGraphics; diff --git a/src/resources/sdl2imagehelper.cpp b/src/resources/sdl2imagehelper.cpp index eedb58de3..0433d2595 100644 --- a/src/resources/sdl2imagehelper.cpp +++ b/src/resources/sdl2imagehelper.cpp @@ -148,7 +148,7 @@ Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) const RenderType SDLImageHelper::useOpenGL() const { - return RENDER_SOFTWARE; + return RENDER_SDL2_DEFAULT; } SDL_Surface *SDLImageHelper::create32BitSurface(int width, int height) const |