summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-17 21:20:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 15:08:47 +0300
commit09ec2b1ecc1a812e03878ccc07708a0aad02896a (patch)
treeefc3406706d2471d22cc427299dd48455bf8048a /src/graphicsmanager.cpp
parent5c278653704d4f4b90ebc99bcef2f37c5a208a72 (diff)
downloadmv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.gz
mv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.bz2
mv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.xz
mv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.zip
Split from Graphics SDL related code into SDLGraphics.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp5
1 files changed, 3 insertions, 2 deletions
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
}