From 5f92f784834f8648857fa6056ac0a93c96c60543 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Tue, 14 Jun 2016 22:27:21 +0200 Subject: 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 --- src/quick/scenegraph/util/qsgdefaultpainternode.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/quick/scenegraph/util') 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; } -- cgit v1.2.3