summaryrefslogtreecommitdiff
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-07-20 13:24:07 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-20 18:19:40 +0000
commit5e1386848c3576a272d0ad3d5091f502bac4310c (patch)
tree2ac945d86fd01645468c4b381f5621088c393701 /tests/benchmarks
parenta2d5ff0b3007e3ff901a6396bec69186ff3b96ab (diff)
downloadqtbase-5e1386848c3576a272d0ad3d5091f502bac4310c.tar.gz
Scale image with MDI icons using the correction factor
The buffer might be large than needed and contain a lot of uninitialized pixels. Scaling it down to the requested size is wrong, we need to scale it by the correction factor. Amends e56b8e1e59b6df7c7abd48b163abe6846849eb7a. As a drive-by, make the correction factor helper function static. Fixes: QTBUG-94733 Change-Id: Ia5be2a77459321e30485d330b49cf57fdbb664d2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 5d7a58ea45ed834655220e05012ff17ac235131a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions