Drop GLES specific hack in blur effect

With GLES full repaints are no longer required. At least I can no
longer notice any visual issues.
This commit is contained in:
Martin Gräßlin 2011-10-15 10:55:27 +02:00
parent e6ed00123a
commit 15fc864c95

View file

@ -239,13 +239,6 @@ void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time)
m_paintedArea = QRegion();
m_currentBlur = QRegion();
#ifdef KWIN_HAVE_OPENGLES
// HACK: with GLES the screen does not get updated correctly.
// as a workaround we trigger full repaints on GLES
// we need to find a proper solution or default to blur off on GLES.
data.mask |= PAINT_SCREEN_TRANSFORMED;
#endif
effects->prePaintScreen(data, time);
}