diff options
author | Michal Klocek <michal.klocek@qt.io> | 2016-11-07 17:25:13 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2016-11-07 16:34:55 +0000 |
commit | 1666e7bbdc6f9bdcaeb257d4d46e29a3e326a9e0 (patch) | |
tree | 042e5643212fc217e17a2e54615a06d2f9eda6ee | |
parent | 6189de6015764dd4a14774f2e08344c4cd085f69 (diff) |
Do not fail for wayland-egl
Client-side buffer integration can be set manually, therefore
beside accepting generic wayland plugin accept also wayland-egl.
Change-Id: I8269f117f81cf8bb9462bea525cb253727910bc6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index f5f490ccf..bff0557a8 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -270,7 +270,8 @@ 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") || platform == QLatin1String("wayland")) + else if (platform == QLatin1String("eglfs") || platform == QLatin1String("wayland") + || platform == QLatin1String("wayland-egl")) m_handle = pni->nativeResourceForContext(QByteArrayLiteral("eglcontext"), qtContext); else if (platform == QLatin1String("windows")) { if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) |