aboutsummaryrefslogtreecommitdiff
path: root/examples/egl_common.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-03 11:30:25 +0200
committerSimon Ser <contact@emersion.fr>2023-05-03 11:32:51 +0200
commitbf8ae8a0367427a595e1fb804a27b7cb8605f8ae (patch)
tree37b6b98fd797c80a1bedc6d161bfd1ef55b38448 /examples/egl_common.c
parenta93fc8afd60646243ee635b443fc2a17e2d97a18 (diff)
output/cursor: fix buffer size when nested and scaled
The Wayland, X11 and headless backends don't really care about the cursor size. We were picking a size identical to the texture size in that case. This is incorrect for LoDPI cursor textures on HiDPI outputs: in that case, we need to scale up the cursor texture. Fixes the cursor being chopped off under the Wayland backend with scale > 1.
Diffstat (limited to 'examples/egl_common.c')
0 files changed, 0 insertions, 0 deletions