From ba4dbab4aaa95e1c7b6f7fc121ebec501633a3e5 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Tue, 24 Nov 2020 11:28:11 +0530 Subject: [PATCH] minor: fix coding style in abstract_egl_backend --- platformsupport/scenes/opengl/abstract_egl_backend.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformsupport/scenes/opengl/abstract_egl_backend.cpp b/platformsupport/scenes/opengl/abstract_egl_backend.cpp index 74874e9336..cd5c9344da 100644 --- a/platformsupport/scenes/opengl/abstract_egl_backend.cpp +++ b/platformsupport/scenes/opengl/abstract_egl_backend.cpp @@ -181,8 +181,9 @@ void AbstractEglBackend::initBufferAge() if (hasExtension(QByteArrayLiteral("EGL_EXT_buffer_age"))) { const QByteArray useBufferAge = qgetenv("KWIN_USE_BUFFER_AGE"); - if (useBufferAge != "0") + if (useBufferAge != "0") { setSupportsBufferAge(true); + } } if (hasExtension(QByteArrayLiteral("EGL_KHR_partial_update"))) {