From 09ec2b1ecc1a812e03878ccc07708a0aad02896a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 Aug 2013 21:20:39 +0300 Subject: Split from Graphics SDL related code into SDLGraphics. --- src/graphicsmanager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/graphicsmanager.cpp') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 7628b19fc..3bba8f9af 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -41,6 +41,7 @@ #include "graphicsvertexes.h" #include "logger.h" #include "mgl.h" +#include "sdlgraphics.h" #include "resources/fboinfo.h" #include "resources/imagehelper.h" @@ -228,7 +229,7 @@ void GraphicsManager::initGraphics(const bool noOpenGL) case 0: imageHelper = new SDLImageHelper; sdlImageHelper = imageHelper; - mainGraphics = new Graphics; + mainGraphics = new SDLGraphics; mUseTextureSampler = false; break; case 1: @@ -261,7 +262,7 @@ void GraphicsManager::initGraphics(const bool noOpenGL A_UNUSED) // Create the graphics context imageHelper = new SDLImageHelper; sdlImageHelper = imageHelper; - mainGraphics = new Graphics; + mainGraphics = new SDLGraphics; #endif } -- cgit v1.2.3-60-g2f50