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

Always return the primary monitor with multiple monitors. #9

Closed
MicroscopyLab opened this issue Jun 13, 2022 · 1 comment
Closed

Always return the primary monitor with multiple monitors. #9

MicroscopyLab opened this issue Jun 13, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@MicroscopyLab
Copy link

MicroscopyLab commented Jun 13, 2022

The follow code cannot return the correct monitor name. The total number of monitors is correct, but not the true pointer.

glfwInit();
monitors = glfwGetMonitors();
for mon=monitors
      glfwGetMonitorName(mon)
end
@cafarm
Copy link
Owner

cafarm commented Jun 13, 2022

I was able to reproduce this issue on my machine as well. Will look into it.

@cafarm cafarm added the bug Something isn't working label Jun 13, 2022
@cafarm cafarm closed this as completed in d350de4 Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants