summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/Qt3DSRenderSubpresentation.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/Qt3DSRenderSubpresentation.cpp
parent02e4d56d055d73340d3af1257b908a52aecc320f (diff)
parent1c2f256c2afd320bec7e94bfc94760892d6fc9e8 (diff)
Merge branch '2.7'
Diffstat (limited to 'src/runtimerender/Qt3DSRenderSubpresentation.cpp')
-rw-r--r--src/runtimerender/Qt3DSRenderSubpresentation.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/runtimerender/Qt3DSRenderSubpresentation.cpp b/src/runtimerender/Qt3DSRenderSubpresentation.cpp
index 64f08be..8b13361 100644
--- a/src/runtimerender/Qt3DSRenderSubpresentation.cpp
+++ b/src/runtimerender/Qt3DSRenderSubpresentation.cpp
@@ -68,10 +68,7 @@ namespace render {
QT3DSVec2 /*inPresScale*/,
const SRenderInstanceId instanceId)
{
- NVRenderRect theViewportSize(m_RenderContext.GetRenderList().GetViewport());
- bool wasDirty = m_Presentation.m_Scene->PrepareForRender(
- QT3DSVec2((QT3DSF32)theViewportSize.m_Width, (QT3DSF32)theViewportSize.m_Height),
- m_RenderContext, instanceId);
+ bool wasDirty = m_Presentation.m_Scene->PrepareForRender(m_RenderContext, instanceId);
// Always transparent
return SOffscreenRenderFlags(true, wasDirty);
}