mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-14 17:20:06 +00: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