minor: fix coding style in abstract_egl_backend
This commit is contained in:
parent
870679e46f
commit
ba4dbab4aa
1 changed files with 2 additions and 1 deletions
|
@ -181,8 +181,9 @@ void AbstractEglBackend::initBufferAge()
|
||||||
if (hasExtension(QByteArrayLiteral("EGL_EXT_buffer_age"))) {
|
if (hasExtension(QByteArrayLiteral("EGL_EXT_buffer_age"))) {
|
||||||
const QByteArray useBufferAge = qgetenv("KWIN_USE_BUFFER_AGE");
|
const QByteArray useBufferAge = qgetenv("KWIN_USE_BUFFER_AGE");
|
||||||
|
|
||||||
if (useBufferAge != "0")
|
if (useBufferAge != "0") {
|
||||||
setSupportsBufferAge(true);
|
setSupportsBufferAge(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasExtension(QByteArrayLiteral("EGL_KHR_partial_update"))) {
|
if (hasExtension(QByteArrayLiteral("EGL_KHR_partial_update"))) {
|
||||||
|
|
Loading…
Reference in a new issue