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
[gemglfw3window] default framebuffer size #390
Comments
that is pretty weird, as i'm sure i mostly use the default window size when testing on macOS (Ventura/arm64) and i think i would have noticed (it's not a Retina display however) |
i've checked again, and now see: on macOS (Ventura, and presumably yours as well), for whatever reasons, i'm not exactly sure where this comes from (either macOS being clever; or some problem with the context sharing; or some other GLFW issue (though i haven't found anything related bug report yet). in any case, the code is trying to set the correct dimension when creating the window: Gem/src/Output/gemglfw3window.cpp Lines 815 to 818 in 9664d63
|
ah i think i've found it: we are doing Gem/src/Output/gemglfw3window.cpp Line 803 in 9664d63
which, according to the docs:
so the window information gets autosaved by macOS and our size hint gets ignored. |
When creating a new window under macos M1, the object return a big screen and "framebuffersize 2560 1832" by default rather than 500 500 under windows / linux.
This system inconsistency might be of the apple retina display.
The text was updated successfully, but these errors were encountered: