Skip to content
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

Fixes GetCurrentMonitor() detection inconsistency issue #3215

Merged
merged 1 commit into from Aug 1, 2023
Merged

Fixes GetCurrentMonitor() detection inconsistency issue #3215

merged 1 commit into from Aug 1, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jul 31, 2023

Changes the GetCurrentMonitor() to use glfwGetMonitorPos() (R1839) and glfwGetVideoMode() (R1840-R1844) instead of glfwGetMonitorWorkarea() (L1842) for non-fullscreen monitor detection on PLATFORM_DESKTOP.

Fixes #3213.

Edit: added line marks.

@raysan5 raysan5 merged commit 4fd40f0 into raysan5:master Aug 1, 2023
12 checks passed
@raysan5
Copy link
Owner

raysan5 commented Aug 1, 2023

@ubkp Very nice! Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core] GetCurrentMonitor() detection inconsistency issue for PLATFORM_DESKTOP
1 participant