summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
diff options
context:
space:
mode:
authorGravatar Morph2023-01-25 21:16:05 -0500
committerGravatar Morph2023-01-25 21:16:05 -0500
commitad6cec71ecd61aa2533d9efa89b68837516f8464 (patch)
treef5f2831ee518cf2bbaf6010ed3e6306a69755e92 /src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
parentmain: Use passthrough scaling for non-windows OSes (diff)
downloadyuzu-ad6cec71ecd61aa2533d9efa89b68837516f8464.tar.gz
yuzu-ad6cec71ecd61aa2533d9efa89b68837516f8464.tar.xz
yuzu-ad6cec71ecd61aa2533d9efa89b68837516f8464.zip
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/emit_glsl_image.cpp')
0 files changed, 0 insertions, 0 deletions