scenes/opengl: Do not process window thumbnails with lanczos filter

If window thumbnails have to be downscaled, it's up to the application
what filter must be used. Also, we don't really use the lanczos filter
because both x and y scale factors are 1.
icc-effect-5.26.4
Vlad Zahorodnii 2020-11-02 10:59:39 +02:00
parent b9cbf3647e
commit c3eba1e41c
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ QSharedPointer<GLTexture> OpenGLWindow::windowTexture()
data.setXTranslation(bufferOffset().x());
data.setYTranslation(geo.height() + bufferOffset().y());
performPaint(Scene::PAINT_WINDOW_TRANSFORMED | Scene::PAINT_WINDOW_LANCZOS, geo, data);
performPaint(Scene::PAINT_WINDOW_TRANSFORMED, geo, data);
GLRenderTarget::popRenderTarget();
GLVertexBuffer::setVirtualScreenGeometry(renderVSG);
GLRenderTarget::setVirtualScreenGeometry(renderVSG);