diff options
author | Kaj Grönholm <kaj.gronholm@qt.io> | 2020-11-11 10:08:45 +0200 |
---|---|---|
committer | Kaj Grönholm <kaj.gronholm@qt.io> | 2020-11-12 13:42:58 +0200 |
commit | 88119bd35aa578ca8d2eafb6d2921ac1b7bb2a56 (patch) | |
tree | c016b6f5be6023eb797fa02697c41cdb809b8d6d /src/qmlcompiler | |
parent | 54d4f8f526f9c9a1af702b14925e1d34ee8b2134 (diff) |
Take pixel ratio into account with point particles
Particles using DrawTriangles are taking pixel ratio into account,
while particles using DrawPoints used raw pixel sizes. Change points
to also scale based on dpr. This way particles with different
backends and performance levels remain the same size.
Task-number: QTBUG-88240
Change-Id: I3988a0ad8e741626a56a41b08aed0500e5be0c62
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/qmlcompiler')
0 files changed, 0 insertions, 0 deletions