summaryrefslogtreecommitdiffstats
path: root/src/core/surface_factory_qt.cpp
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-09-12 16:26:08 +0200
committerAndras Becsi <andras.becsi@digia.com>2014-09-15 18:53:29 +0200
commit04e7b2f41541bb6bf6e944bbe596c3b582c6daf7 (patch)
tree5225e9052f646972f55165f51f43f84a523256eb /src/core/surface_factory_qt.cpp
parent12916ced18021768158214e2c4fc877eecb7b9a6 (diff)
Fix the build for embedded android
Change-Id: I1edd16e6875198d7480897e7b2e2fbf68b245883 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/surface_factory_qt.cpp')
-rw-r--r--src/core/surface_factory_qt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/surface_factory_qt.cpp b/src/core/surface_factory_qt.cpp
index ca48da46e..85b9eb799 100644
--- a/src/core/surface_factory_qt.cpp
+++ b/src/core/surface_factory_qt.cpp
@@ -36,6 +36,7 @@
#include "surface_factory_qt.h"
+#include "gl_context_qt.h"
#include "type_conversion.h"
#include "base/files/file_path.h"
@@ -95,7 +96,7 @@ bool SurfaceFactoryQt::LoadEGLGLES2Bindings(AddGLLibraryCallback add_gl_library,
intptr_t SurfaceFactoryQt::GetNativeDisplay()
{
- static void *display = qApp->platformNativeInterface()->nativeResourceForIntegration(QByteArrayLiteral("nativedisplay"));
+ static void *display = GLContextHelper::getNativeDisplay();
if (display)
return reinterpret_cast<intptr_t>(display);