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) {
|
||||
QApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||
Qt::HighDpiScaleFactorRoundingPolicy::Round);
|
||||
Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);
|
||||
} else {
|
||||
QApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||
Qt::HighDpiScaleFactorRoundingPolicy::Floor);
|
||||
|
Loading…
Reference in New Issue
Block a user