summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-16 20:39:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-16 20:39:17 +0300
commit1835588f29ba1e304a225f3f37f7ae7be85bad16 (patch)
treef3f4ff0c6652cd5a58746bdc0123d8db786ffd97 /src/graphicsmanager.cpp
parent3bc086323f5d81011b6ecb628afabaad881f5741 (diff)
downloadmv-1835588f29ba1e304a225f3f37f7ae7be85bad16.tar.gz
mv-1835588f29ba1e304a225f3f37f7ae7be85bad16.tar.bz2
mv-1835588f29ba1e304a225f3f37f7ae7be85bad16.tar.xz
mv-1835588f29ba1e304a225f3f37f7ae7be85bad16.zip
Add mobileopenglscreenshothelper.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index eea4ad67b..7a6e97f1f 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -63,6 +63,7 @@
#include "resources/openglimagehelper.h"
#include "resources/openglscreenshothelper.h"
#ifndef ANDROID
+#include "resources/mobileopenglscreenshothelper.h"
#include "resources/safeopenglimagehelper.h"
#endif // ANDROID
#include "render/mglfunctions.h"
@@ -310,7 +311,7 @@ int GraphicsManager::detectGraphics()
imageHelper = new OpenGLImageHelper; \
surfaceImageHelper = new SurfaceImageHelper; \
mainGraphics = new MobileOpenGL2Graphics; \
- screenshortHelper = new OpenGLScreenshotHelper; \
+ screenshortHelper = new MobileOpenGLScreenshotHelper; \
mUseTextureSampler = false;
#endif // defined(ANDROID)