summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar Morph2023-01-25 21:16:04 -0500
committerGravatar Morph2023-01-25 21:16:04 -0500
commit6a1b089a501aca93cd275d853ef8f34a62b904c5 (patch)
tree2f8039744199b8fe17e54fbd6535aa5b66c484ab /src/core/hle/kernel/kernel.cpp
parentMerge pull request #9681 from Morph1984/nice-one-qt6 (diff)
downloadyuzu-6a1b089a501aca93cd275d853ef8f34a62b904c5.tar.gz
yuzu-6a1b089a501aca93cd275d853ef8f34a62b904c5.tar.xz
yuzu-6a1b089a501aca93cd275d853ef8f34a62b904c5.zip
main: Enable High DPI fixes for Qt >= 5.14
This uses Qt's new high DPI application attributes for scaling the current window. However, these aren't perfect as scaling with non integer scales will cause artifacts in UI, icons and other elements. Therefore, we use a heuristic to select an appropriate integer scale value depending on the current screen resolution and applies this to the application.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions