diff options
author | Eirik Aavitsland <[email protected]> | 2021-11-03 13:14:29 +0100 |
---|---|---|
committer | Eirik Aavitsland <[email protected]> | 2021-11-04 08:01:13 +0100 |
commit | 33b16814c90fb4b70043be4f65fbbf783aee5d86 (patch) | |
tree | 934048d0e20192ff8a037a779229dbb996ce2ccf /examples/qml/referenceexamples/signal/main.cpp | |
parent | 5dd34545811ce351ff04f1c675f9ea03a9b41049 (diff) |
lancelot test: fix screen grab size
Under eglfs, grabWindow() will return the entire screen. Crop it to
the interesting, actually rendered part.
Also, if the scene does not specify a window size, make sure we use a
default one that is meaningful and equal across platforms.
Pick-to: 6.2
Change-Id: Iefe815631b0c71665d7e304a46a5f79d3f6eca07
Reviewed-by: Paul Olav Tvete <[email protected]>
Diffstat (limited to 'examples/qml/referenceexamples/signal/main.cpp')
0 files changed, 0 insertions, 0 deletions