diff options
author | Andy Shaw <andy.shaw@theqtcompany.com> | 2016-06-14 22:27:21 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2016-06-15 15:17:47 +0000 |
commit | 5f92f784834f8648857fa6056ac0a93c96c60543 (patch) | |
tree | e26dec306eef4698193bd9f89d0638a68dae8156 /src/quick/scenegraph | |
parent | 7190aa26f65ab97b4f54c156a107ed7748a11df5 (diff) |
Remove erronous setTextureSize() as it is already set previously
This was causing problems with the FrameBuffer render target when
displaying on a HiDpi display as it would end up with a size which was not
accounting for the devicePixelRatio.
Task-number: QTBUG-52901
Change-Id: I587e2578d670cfecb016aae92c4190a37e7412a1
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/util/qsgdefaultpainternode.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgdefaultpainternode.cpp b/src/quick/scenegraph/util/qsgdefaultpainternode.cpp index 38bcc7a3f3..e3103341cd 100644 --- a/src/quick/scenegraph/util/qsgdefaultpainternode.cpp +++ b/src/quick/scenegraph/util/qsgdefaultpainternode.cpp @@ -310,7 +310,6 @@ void QSGDefaultPainterNode::updateRenderTarget() if (m_texture) delete m_texture; - texture->setTextureSize(m_size); m_texture = texture; } |