diff options
author | Antti Määttä <antti.maatta@qt.io> | 2020-05-05 13:27:57 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2020-05-05 14:01:17 +0300 |
commit | 0079c6e848f86e27c643c6670aa2b2e16bfdd6b3 (patch) | |
tree | 04a8fe16f6d1cb2999b8917dc4f43014d6e05708 /src/Runtime/ogl-runtime/src/runtime/Qt3DSInputEngine.cpp | |
parent | 3db28c596f1bd164af7511192b18cd77c2719c10 (diff) |
Fix scene rendering when changing view mode
The viewport is not set to correct size when changing the view mode,
because the recalculating of the size is done before setting the view
mode. Move the viewmode setting before recalculating viewport.
Task-number: QT3DS-4106
Change-Id: I7a7a24ee0bfe508d3df9390befdcffe64e748604
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/ogl-runtime/src/runtime/Qt3DSInputEngine.cpp')
0 files changed, 0 insertions, 0 deletions