diff --git a/debug_console.cpp b/debug_console.cpp index 5308c17a3f..91d2d8041c 100644 --- a/debug_console.cpp +++ b/debug_console.cpp @@ -550,18 +550,8 @@ void DebugConsole::initGLTab() text.append(QStringLiteral("")); return text; }; - if (gl->platformInterface() == EglPlatformInterface) { - m_ui->eglExtensionsBox->setVisible(true); - m_ui->glxExtensionsBox->setVisible(false); - - m_ui->eglExtensionsLabel->setText(extensionsString(static_cast(Compositor::self()->scene())->backend()->extensions())); - } else { - m_ui->eglExtensionsBox->setVisible(false); - m_ui->glxExtensionsBox->setVisible(true); - - m_ui->glxExtensionsLabel->setText(extensionsString(static_cast(Compositor::self()->scene())->backend()->extensions())); - } + m_ui->platformExtensionsLabel->setText(extensionsString(static_cast(Compositor::self()->scene())->backend()->extensions())); m_ui->openGLExtensionsLabel->setText(extensionsString(openGLExtensions())); } diff --git a/debug_console.ui b/debug_console.ui index 38ff6cdba8..c13be1881b 100644 --- a/debug_console.ui +++ b/debug_console.ui @@ -249,29 +249,13 @@ - + - EGL Extensions + Platform Extensions - - - - - - - - - - - - - GLX Extensions - - - - +