[qrhi] Fixed group call scale when moving between screens at runtime.

This commit is contained in:
23rd
2026-05-20 21:21:35 +03:00
committed by John Preston
parent 9f62e0199c
commit dbb7d1890e
@@ -572,7 +572,7 @@ void Viewport::RendererRhi::renderOffscreen(
_nextPoolIndex = 0;
const auto size = rt->pixelSize();
const auto factor = style::DevicePixelRatio();
const auto factor = float(_owner->widget()->devicePixelRatioF());
if (_factor != factor) {
_factor = factor;
_ifactor = int(std::ceil(factor));