summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/graphobjects/Qt3DSRenderScene.cpp
diff options
context:
space:
mode:
authorAntti Kokko <antti.kokko@qt.io>2020-06-25 07:32:53 +0300
committerAntti Kokko <antti.kokko@qt.io>2020-06-25 07:32:53 +0300
commitdd9baa255af6aff800e536781bce369fcc8a3547 (patch)
tree224c0d11aa0e82eb609bcff0eacc1d42b95604f9 /src/runtimerender/graphobjects/Qt3DSRenderScene.cpp
parent02e4d56d055d73340d3af1257b908a52aecc320f (diff)
parent1c2f256c2afd320bec7e94bfc94760892d6fc9e8 (diff)
Merge branch '2.7'
Diffstat (limited to 'src/runtimerender/graphobjects/Qt3DSRenderScene.cpp')
-rw-r--r--src/runtimerender/graphobjects/Qt3DSRenderScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtimerender/graphobjects/Qt3DSRenderScene.cpp b/src/runtimerender/graphobjects/Qt3DSRenderScene.cpp
index 2dadc26..afe68d5 100644
--- a/src/runtimerender/graphobjects/Qt3DSRenderScene.cpp
+++ b/src/runtimerender/graphobjects/Qt3DSRenderScene.cpp
@@ -65,7 +65,7 @@ SLayer *SScene::GetLastChild()
return child;
}
-bool SScene::PrepareForRender(const QT3DSVec2 &inViewportDimensions, IQt3DSRenderContext &inContext,
+bool SScene::PrepareForRender(IQt3DSRenderContext &inContext,
const SRenderInstanceId id)
{
// We need to iterate through the layers in reverse order and ask them to render.
@@ -74,7 +74,7 @@ bool SScene::PrepareForRender(const QT3DSVec2 &inViewportDimensions, IQt3DSRende
if (m_FirstChild) {
wasDirty |=
- inContext.GetRenderer().PrepareLayerForRender(*m_FirstChild, inViewportDimensions,
+ inContext.GetRenderer().PrepareLayerForRender(*m_FirstChild,
true, id);
}
return wasDirty;