diff --git a/lanczosfilter.cpp b/lanczosfilter.cpp
index 24ad14d79e..ffa1e39bca 100644
--- a/lanczosfilter.cpp
+++ b/lanczosfilter.cpp
@@ -24,6 +24,7 @@ along with this program. If not, see .
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
#include
+ #include
#endif
#include
@@ -74,6 +75,11 @@ void LanczosFilter::init()
return;
}
+ // The lanczos filter is reported to be broken with the Intel driver and Mesa 7.10
+ GLPlatform *gl = GLPlatform::instance();
+ if ( gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(7, 10) )
+ return;
+
m_shader = new LanczosShader( this );
if( !m_shader->init() )
{