Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

fix: windows size in macOS#236

Open
quizD wants to merge 1 commit intofacebookresearch:mainfrom
quizD:fix/window_size_in_macOS
Open

fix: windows size in macOS#236
quizD wants to merge 1 commit intofacebookresearch:mainfrom
quizD:fix/window_size_in_macOS

Conversation

@quizD
Copy link

@quizD quizD commented Oct 10, 2023

When a program is running on macOS with an external monitor connected, the values obtained through glfw.get_framebuffer_size will be larger. It is more appropriate to use glfw.get_window_size to retrieve the logical size.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants