diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-10-25 11:36:45 -0700 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-25 18:57:10 +0100 |
commit | e870d9a9bcab77635482ab8781ec660549196569 (patch) | |
tree | 35d319e6bd57050d8d732f058f2409e2a45494ce /src/plugins/platforms/wayland/main.cpp | |
parent | c03490fa342356232635342152b7037ab9405313 (diff) |
Wayland: add waylandgl platform type
This will set mUseOpenGL when -platform waylandgl is passed to clients.
Diffstat (limited to 'src/plugins/platforms/wayland/main.cpp')
-rw-r--r-- | src/plugins/platforms/wayland/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/main.cpp b/src/plugins/platforms/wayland/main.cpp index 056cc64f1..1bca66142 100644 --- a/src/plugins/platforms/wayland/main.cpp +++ b/src/plugins/platforms/wayland/main.cpp @@ -55,6 +55,7 @@ QStringList QWaylandIntegrationPlugin::keys() const { QStringList list; list << "Wayland"; + list << "WaylandGL"; return list; } @@ -63,6 +64,8 @@ QPlatformIntegration *QWaylandIntegrationPlugin::create(const QString& system, c Q_UNUSED(paramList); if (system.toLower() == "wayland") return new QWaylandIntegration; + if (system.toLower() == "waylandgl") + return new QWaylandIntegration(true); return 0; } |