3D: Fix the devicePixelRatio comparison in tst_scene
The test compared QScreen::devicePixelRatio and
QWindow::devicePixelRatio. However, those values can differ on some
platforms, such as, Wayland. The graphs devicePixelRatio is updated in
QQuickGraphsItem::updateWindowParameters with QWindows devicePixelRatio.
Amends to 4d083c511adc62185d87250b71861627e3336a7f
Pick-to: 6.12
Change-Id: I8ae2b3a0324642d19524ba94d327f82e00c71a7f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
| commit | c4d0b3b50a1acbc773ae6a5691b605a69edcfbc7 |
| parent | a0f3387a24be5f47b422eeba294bc010a00140b5 |
| author | Sami Varanka <sami.varanka@qt.io> |
| committer | Sami Varanka <sami.varanka@qt.io> |
| commit time | Mon, 14 Sep 2026 13:28:24 +0000 |