diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-25 21:16:05 -0500 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-25 21:16:05 -0500 |
commit | ad6cec71ecd61aa2533d9efa89b68837516f8464 (patch) | |
tree | f5f2831ee518cf2bbaf6010ed3e6306a69755e92 /src/shader_recompiler/backend/glsl/glsl_emit_context.cpp | |
parent | 5be85c556ed05cd9d751fb7b3f8a331800ee573d (diff) |
main: Convert to device independent coordinates for scaling
devicePixelRatioF() returns the scaling ratio when high dpi scaling is enabled.
When high dpi scaling is enabled, the raw screen coordinate system is scaled to device independent coordinates.
Diffstat (limited to 'src/shader_recompiler/backend/glsl/glsl_emit_context.cpp')
0 files changed, 0 insertions, 0 deletions