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

[rcore] ToggleFullscreen() not working as expected with HighDPI mode enabled #3972

Open
fishbowlforever opened this issue May 10, 2024 · 0 comments

Comments

@fishbowlforever
Copy link

fishbowlforever commented May 10, 2024

when enabling the highDPI flag in raylib (SetConfigFlags(FLAG_WINDOW_HIGHDPI);) and using ToggleFullscreen(); the fullscreen Window is twice the size it should be and you only see the top left quarter of your software. Toggling again will half the window size each time you toggle fullscreen until the window is gone.

image

steps to repdroduce:
SetConfigFlags(FLAG_WINDOW_HIGHDPI); on a high dpi monitor
call ToggleFullscreen();

I am using Windows 11

@fishbowlforever fishbowlforever changed the title [module] Raylib toggling fullscreen destroys Window in HighDPI mode [core] Raylib toggling fullscreen destroys Window in HighDPI mode May 10, 2024
@raysan5 raysan5 changed the title [core] Raylib toggling fullscreen destroys Window in HighDPI mode [rcore] ToggleFullscreen() not working as expected with HighDPI mode enabled May 12, 2024
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

No branches or pull requests

1 participant