summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
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)