diff options
| author | Laszlo Agocs <laszlo.agocs@qt.io> | 2024-08-12 16:44:04 +0200 |
|---|---|---|
| committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2024-08-15 12:36:48 +0200 |
| commit | 431da3b90556e0ffceaff4aea878c480818cdd69 (patch) | |
| tree | 346e67bdcd1aa8b1667b5b401a2c898b4471bde3 /src/quicktestutils/quick/visualtestutils.cpp | |
| parent | 23ae81c84de8bb30ba2d779c603a5b3aded2a417 (diff) | |
QQuickWidget: Clamp texture size
Copy the behavior from QQuickRhiItem, which handles this correctly.
The older QQuickWidget seems to lack that logic for some reason.
Also add a qWarning to make it clear what is happening, because
clamping the texture size may cause unexpected results in the
visual output.
Pick-to: 6.8 6.7 6.6 6.5
Fixes: QTBUG-123636
Change-Id: I08d4ac23f709c85dc975c030fd198127d7eb4d23
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quicktestutils/quick/visualtestutils.cpp')
0 files changed, 0 insertions, 0 deletions
