-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland scaled display issue #404
Comments
Had the Same Problem with GLFW before under Java. The Scaling is on the Window Object, not the Desktop Object, The scaling object beeing only ints Is intended, on the Window it should be the right Scaling Information though |
@Cyliann try this |
Try what exactly? |
Getting the Scale of the Desktop from the Window, instead of from the Desktop object. |
This does appear to be fixed in glfw 3.4 #400 |
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?
The text was updated successfully, but these errors were encountered: