[wayland] Don't check whether GLX is available
We won't use it, so let's not check for it.
This commit is contained in:
parent
f39c3c8cbb
commit
659ff1c732
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue