diff options
author | Jonathan Liu <net147@gmail.com> | 2016-02-15 14:11:44 +1100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-02-16 08:54:05 +0000 |
commit | 3a22766e8c4ea39836f197552e92b3cc78e77f62 (patch) | |
tree | 071a46d1351465fc6ad16c3ab39a49765b52c81e /src | |
parent | 040d9da184f69ce548951e674353083967c137a2 (diff) |
Linear interpolation should be interpreted as smooth rather than nearest neighbor.
Task-number: QTBUG-51122
Change-Id: I6ac1fe806c16671aec383e0a235fef41e5e9105f
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/scenegraph/softwarecontext/imagenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/imagenode.cpp b/src/plugins/scenegraph/softwarecontext/imagenode.cpp index 7bbe5dc2eb..968d36f496 100644 --- a/src/plugins/scenegraph/softwarecontext/imagenode.cpp +++ b/src/plugins/scenegraph/softwarecontext/imagenode.cpp @@ -367,7 +367,7 @@ void ImageNode::setMipmapFiltering(QSGTexture::Filtering /*filtering*/) void ImageNode::setFiltering(QSGTexture::Filtering filtering) { - bool smooth = (filtering == QSGTexture::Nearest); + bool smooth = (filtering == QSGTexture::Linear); if (smooth == m_smooth) return; |