Commit 6a5173b6 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Merge Service
Browse files

effects/zoom: Use GL_LINEAR filter

The magnification filter was changed to GL_NEAREST with the reasoning
that "pixel granularity" would be more correct. Perhaps that was not a
bright idea. Change it back to GL_LINEAR.

BUG: 454408
Part-of: <!2471>
parent b6001d12
Pipeline #181059 passed with stage
in 34 minutes and 50 seconds
......@@ -275,7 +275,7 @@ ZoomEffect::OffscreenData *ZoomEffect::ensureOffscreenData(EffectScreen *screen)
}
if (!data->texture || data->texture->size() != nativeSize) {
data->texture.reset(new GLTexture(GL_RGBA8, nativeSize));
data->texture->setFilter(GL_NEAREST);
data->texture->setFilter(GL_LINEAR);
data->texture->setWrapMode(GL_CLAMP_TO_EDGE);
data->framebuffer.reset(new GLFramebuffer(data->texture.data()));
}
......
Supports Markdown
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