diff --git a/src/scene/itemrenderer_opengl.cpp b/src/scene/itemrenderer_opengl.cpp index 7d48824dd9..d197982039 100644 --- a/src/scene/itemrenderer_opengl.cpp +++ b/src/scene/itemrenderer_opengl.cpp @@ -262,7 +262,7 @@ void ItemRendererOpenGL::renderItem(Item *item, int mask, const QRegion ®ion, renderContext.transformStack.push(QMatrix4x4()); renderContext.opacityStack.push(data.opacity()); - item->setTransform(data.toMatrix(renderTargetScale())); + item->setTransform(data.toMatrix(renderContext.renderTargetScale)); createRenderNode(item, &renderContext);