only use lanczos filter when either direction is scaled below 90%
BUG: 263653
This commit is contained in:
parent
696d2da570
commit
fab764f6c6
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ void LanczosShader::createOffsets(int count, float width, Qt::Orientation direct
|
|||
void LanczosFilter::performPaint(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data)
|
||||
{
|
||||
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||
if (effects->compositingType() == KWin::OpenGLCompositing &&
|
||||
if (effects->compositingType() == KWin::OpenGLCompositing && (data.xScale < 0.9 || data.yScale < 0.9) &&
|
||||
KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects) {
|
||||
if (!m_inited)
|
||||
init();
|
||||
|
|
Loading…
Reference in a new issue