From 659ff1c7323f741d0fccb2e875f4d70360a3c1d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 23 Feb 2015 15:56:08 +0100 Subject: [PATCH] [wayland] Don't check whether GLX is available We won't use it, so let's not check for it. --- composite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index caa0d28cb2..7b2a09c143 100644 --- a/composite.cpp +++ b/composite.cpp @@ -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";