diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2017-09-22 11:12:57 +0200 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2017-09-22 12:15:00 +0000 |
commit | abb6af14fb632d32d8cce83b4042acd6f9a4767e (patch) | |
tree | 5f0aa9076df8f6c27663c80bf80805d06baa31f2 /src/core/surface_factory_qt.cpp | |
parent | 8041548b7c7fc6f28c23d6c5699bc43ffef2428a (diff) |
Fix viewport resizing bug in renderer
After the recent fix for rendering intersecting quads, DelegatedFrameNode no
longer builds scene graph nodes for DrawQuads that are outside the visible area.
This means that the structure of the scene graph now depends on the size of the
visible area, however the logic for deciding whether to update or rebuild the
scene graph was not updated to reflect this fact. As a result we may try to
update e.g. a QSGImageNode as if it were a QSGRectangleNode leading to a crash.
Task-number: QTBUG-62112
Change-Id: I6e2e9dee4238d208fc2be98669281c2d4d4962d7
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/surface_factory_qt.cpp')
0 files changed, 0 insertions, 0 deletions