Fix the build

6199631604 broke the build due to a
missing bracket.
This commit is contained in:
Rohan Garg 2016-10-04 17:20:41 +02:00
parent 6199631604
commit 13991f85ea
No known key found for this signature in database
GPG key ID: A704BD4EF2672094

View file

@ -182,7 +182,7 @@ bool EglOnXBackend::initRenderingContext()
if (havePlatformBase) {
// Make sure that the X11 platform is supported
if (!hasClientExtension(QByteArrayLiteral("EGL_EXT_platform_x11")) &&
!hasClientExtension(QByteArrayLiteral("EGL_KHR_platform_x11")) {
!hasClientExtension(QByteArrayLiteral("EGL_KHR_platform_x11"))) {
qCWarning(KWIN_CORE) << "EGL_EXT_platform_base is supported, but neither EGL_EXT_platform_x11 nor EGL_KHR_platform_x11 is supported."
<< "Cannot create EGLDisplay on X11";
return false;