diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-12-05 09:15:06 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-06 12:04:58 +0100 |
commit | 1f99bc15ffe7036a915cb4551480c4e5f8a46012 (patch) | |
tree | 685cb7958f89a42435bcf6388e957e95e5539df0 /src/quick | |
parent | bba329d80365cfed30c411c111c1c8ba5aa04d62 (diff) |
Propegate filtering state when we extract texture from atlas.
Task-number: QTBUG-35395
Change-Id: I5ac08ade7763d14bca855b8300156aee0e6a6920
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/scenegraph/util/qsgatlastexture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgatlastexture.cpp b/src/quick/scenegraph/util/qsgatlastexture.cpp index 8678d106ff..75bf0b6e3c 100644 --- a/src/quick/scenegraph/util/qsgatlastexture.cpp +++ b/src/quick/scenegraph/util/qsgatlastexture.cpp @@ -448,6 +448,7 @@ QSGTexture *Texture::removedFromAtlas() const if (!m_nonatlas_texture) { m_nonatlas_texture = new QSGPlainTexture(); m_nonatlas_texture->setImage(m_image); + m_nonatlas_texture->setFiltering(filtering()); } return m_nonatlas_texture; } |