diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp index 53049355a3..7349cc36f2 100644 --- a/libkwineffects/kwinglplatform.cpp +++ b/libkwineffects/kwinglplatform.cpp @@ -751,11 +751,6 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface) m_driverVersion = parseVersionString(versionTokens.at(index + 1)); else m_driverVersion = 0; - - if (qgetenv("QT_OPENGL_NO_SANITY_CHECK").isNull()) { - // workaround for QTBUG-34898 - m_recommendedCompositor = XRenderCompositing; - } } @@ -828,10 +823,6 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface) } else { m_recommendedCompositor = OpenGL2Compositing; } - if (m_chipClass == SandyBridge && m_renderer.contains("Mobile") && qgetenv("QT_OPENGL_NO_SANITY_CHECK").isNull()) { - // workaround for QTBUG-34898 - m_recommendedCompositor = XRenderCompositing; - } } if (isMesaDriver() && platformInterface == EglPlatformInterface) {