[wayland] Don't check whether GLX is available

We won't use it, so let's not check for it.
icc-effect-5.14.5
Martin Gräßlin 2015-02-23 15:56:08 +01:00
parent f39c3c8cbb
commit 659ff1c732
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ void Compositor::slotCompositingOptionsInitialized()
unsafeConfig.writeEntry(openGLIsUnsafe, true);
unsafeConfig.sync();
#ifndef KWIN_HAVE_OPENGLES
if (!CompositingPrefs::hasGlx()) {
if (!kwinApp()->shouldUseWaylandForCompositing() && !CompositingPrefs::hasGlx()) {
unsafeConfig.writeEntry(openGLIsUnsafe, false);
unsafeConfig.sync();
qCDebug(KWIN_CORE) << "No glx extensions available";