summaryrefslogtreecommitdiffstats
path: root/src/engine/Qt3DSRuntimeView.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/engine/Qt3DSRuntimeView.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/engine/Qt3DSRuntimeView.h')
-rw-r--r--src/engine/Qt3DSRuntimeView.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/engine/Qt3DSRuntimeView.h b/src/engine/Qt3DSRuntimeView.h
index cb6da7f..72d8908 100644
--- a/src/engine/Qt3DSRuntimeView.h
+++ b/src/engine/Qt3DSRuntimeView.h
@@ -132,7 +132,6 @@ protected:
public:
virtual void SetViewport(INT32 inX, INT32 inY, INT32 inWidth, INT32 inHeight) = 0;
- virtual void SetApplicationViewport(const qt3ds::render::NVRenderRect &inViewport) = 0;
virtual void ensureRenderTarget() = 0;
virtual void CheckResize(bool inForce, IPresentation &inActivePresentation) = 0;
virtual QByteArray exportShaderCache(bool binaryShaders) = 0;