-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Description
Display scaling on Wayland seems to cause problems.
I run with my display scaled to 110%
When running the gl41core-cube example with wayland build tag the cube renders in the lower left corner.
The x11 version looked normal.
After investigating I found out the x11 version wasn't actually normal because it was only 5% smaller.
The wayland version was scaling the frame buffer to 2x instead of just 1.1x like x11
Adding a FramebufferSizeCallback and changing setting gl.Viewport corrects the example.
Is wayland scaling to 2x instead of 1.1x intended behavior? Or is it due to upstream support?
Metadata
Metadata
Assignees
Labels
No labels