diff --git a/mythtv/libs/libmythui/opengl/mythrenderopengl.cpp b/mythtv/libs/libmythui/opengl/mythrenderopengl.cpp index e0bab337c81..f3f38f61c7d 100644 --- a/mythtv/libs/libmythui/opengl/mythrenderopengl.cpp +++ b/mythtv/libs/libmythui/opengl/mythrenderopengl.cpp @@ -541,12 +541,10 @@ void MythRenderOpenGL::SetWidget(QWidget *Widget) return; } -#ifdef Q_OS_ANDROID // Ensure surface type is always OpenGL m_window->setSurfaceType(QWindow::OpenGLSurface); if (native && native->windowHandle()) native->windowHandle()->setSurfaceType(QWindow::OpenGLSurface); -#endif #ifdef USING_QTWEBENGINE auto * globalcontext = QOpenGLContext::globalShareContext();