Commit e68ced93 authored by Fredrik Höglund's avatar Fredrik Höglund Committed by Martin Flöser
Browse files

Disable the lanczos filter with the Intel driver in Mesa 7.10.

It's reported to cause kwin to hang when rendering thumbnails.

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1215502
parent 286d4852
......@@ -24,6 +24,7 @@ along with this program. If not, see <>.
#include <kwinglutils.h>
#include <kwinglplatform.h>
#include <kwineffects.h>
......@@ -74,6 +75,11 @@ void LanczosFilter::init()
// 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) )
m_shader = new LanczosShader( this );
if( !m_shader->init() )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment