From 0d6dfd83a1d99119ecffdbbe81064eefcd48a730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 8 Mar 2014 14:41:12 +0100 Subject: [PATCH] Drop workaround for QTBUG-34898 Fixed as of 91e2c5d749e38eed93e91b14151faa549e70080f in qtdeclarative module. Part of at 5.2.1. --- libkwineffects/kwinglplatform.cpp | 9 --------- 1 file changed, 9 deletions(-) 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) {