mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-22 14:25:40 +01:00
Qt: RoundPreferFloor scaling mode for win HiDPI
This commit is contained in:
parent
e0895a8581
commit
0891466fb8
@ -4585,7 +4585,7 @@ static void SetHighDPIAttributes() {
|
|||||||
|
|
||||||
if (max_ratio > real_ratio) {
|
if (max_ratio > real_ratio) {
|
||||||
QApplication::setHighDpiScaleFactorRoundingPolicy(
|
QApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||||
Qt::HighDpiScaleFactorRoundingPolicy::Round);
|
Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);
|
||||||
} else {
|
} else {
|
||||||
QApplication::setHighDpiScaleFactorRoundingPolicy(
|
QApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||||
Qt::HighDpiScaleFactorRoundingPolicy::Floor);
|
Qt::HighDpiScaleFactorRoundingPolicy::Floor);
|
||||||
|
Loading…
Reference in New Issue
Block a user