diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2014-12-04 13:10:09 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2014-12-04 13:47:03 +0100 |
commit | b2d0ead0e354f66ad64fd68c504ecbe224fe5078 (patch) | |
tree | 8942270d9261393c9ca910bdc2541cda548745e2 | |
parent | 065a197007038ea02f0c72bdb592cd26edd4d20a (diff) |
Enable running on the wayland platform plugin
Change-Id: I472279f6f391b036f5af9eb6a07f6803b3786320
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index 1c0c75bad..536b6ffd5 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -241,7 +241,7 @@ public: m_handle = pni->nativeResourceForContext(QByteArrayLiteral("cglcontextobj"), qtContext); else if (platform == QLatin1String("qnx")) m_handle = pni->nativeResourceForContext(QByteArrayLiteral("eglcontext"), qtContext); - else if (platform == QLatin1String("eglfs")) + else if (platform == QLatin1String("eglfs") || platform == QLatin1String("wayland")) m_handle = pni->nativeResourceForContext(QByteArrayLiteral("eglcontext"), qtContext); else if (platform == QLatin1String("windows")) { if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) |