Skip to content
Commit 9e9bb6c6 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix decoration rendering with scale factor < 1

QPainter won't let paint with a device pixel ratio less than 1. There
are used to be workarounds to force a device pixel ratio of 1, but they
were removed with fractional scaling corner fix.

This change makes sure that the decoration renderer forces a device
pixel ratio of 1 if the output's scale factor is less than 1 so
calculated texture coordinates match where window borders are rendered
in the texture atlas.

BUG: 449681


(cherry picked from commit bb935aa5)
parent c5c5f67f
Pipeline #134816 passed with stage
in 23 minutes and 10 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment