-
Notifications
You must be signed in to change notification settings - Fork 15
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
Black background with wrong mouse position handling when fullscreen #26
Comments
That's a limitation of glfw/platform from the older days. When a window goes fullscreen, it gets "exclusive" access to desktop and nothing else is rendered. The workaround I use is to resize the window to |
Thank you for your fast response! That is the solution I have just tried a few minutes ago and it is working Also mouse position handling is not wrong, I just had to set window pos to 0,0 |
Where have you learned this info from? :) |
@FreePhoenix888 mostly from search results when I was debugging this issue in the past https://devblogs.microsoft.com/directx/demystifying-full-screen-optimizations/ . The workaround was good enough for my use case, so I never bothered going further. Fullscreen also messes with |
Desktop.2024.03.01.-.00.11.13.02.mp4
Desktop.2024.03.01.-.00.07.21.01.mp4
The text was updated successfully, but these errors were encountered: