We emulate DPI scaling by drawing to a smaller render target and scale it up with bilinear filtering to the desired DPI scale factor configured in the OS.
Windows seems to do crisper point filtering (nearest neighbour) for scale factors that are multiples of 100%.
This commit alters our behaviour to select the filter mode based on the DPI scale factor, opting for point filtering for non-fractional scaling.
We emulate DPI scaling by drawing to a smaller render target and scale it up with bilinear filtering to the desired DPI scale factor configured in the OS.
Windows seems to do crisper point filtering (nearest neighbour) for scale factors that are multiples of 100%.
This commit alters our behaviour to select the filter mode based on the DPI scale factor, opting for point filtering for non-fractional scaling.