summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/value.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-01-25 21:16:04 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-01-25 21:16:04 -0500
commit6a1b089a501aca93cd275d853ef8f34a62b904c5 (patch)
tree2f8039744199b8fe17e54fbd6535aa5b66c484ab /src/shader_recompiler/frontend/ir/value.h
parent0a7cdc198103c5c8a938a72930455b4b930ff324 (diff)
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/shader_recompiler/frontend/ir/value.h')
0 files changed, 0 insertions, 0 deletions