summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/Qt3DSRenderer.h
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2020-05-05 11:01:30 +0300
committerAntti Määttä <antti.maatta@qt.io>2020-05-07 08:35:00 +0300
commitfa819899abd4d405da782b34abde8a23cbc2da5a (patch)
treefc0f51b9300763414f7ff8128a5512c13b694bf6 /src/runtimerender/Qt3DSRenderer.h
parentfcfe2c787a6429323afe974ee8d9abcf8f2747ee (diff)
Fix studio viewport rendering when scene camera is visible
The runtime contains unused viewport parameters. Remove those and fix the editor by reading the scissor rect from render list instead of render context, which contains wrong scissor rect. Task-number: QT3DS-4103 Change-Id: I8b443c3a5e8d7ac84eb211633cea2afeed6da30b Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/runtimerender/Qt3DSRenderer.h')
-rw-r--r--src/runtimerender/Qt3DSRenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtimerender/Qt3DSRenderer.h b/src/runtimerender/Qt3DSRenderer.h
index 336baab..50c27c3 100644
--- a/src/runtimerender/Qt3DSRenderer.h
+++ b/src/runtimerender/Qt3DSRenderer.h
@@ -132,7 +132,7 @@ namespace render {
virtual void RenderPointsIndirect() = 0;
// Returns true if this layer or a sibling was dirty.
- virtual bool PrepareLayerForRender(SLayer &inLayer, const QT3DSVec2 &inViewportDimensions,
+ virtual bool PrepareLayerForRender(SLayer &inLayer,
bool inRenderSiblings = true,
const SRenderInstanceId id = nullptr) = 0;
virtual void RenderLayer(SLayer &inLayer, const QT3DSVec2 &inViewportDimensions, bool clear,