-
-
Notifications
You must be signed in to change notification settings - Fork 183
Port display.c
to SDL3
#3428
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
base: main
Are you sure you want to change the base?
Port display.c
to SDL3
#3428
Conversation
f16cc05
to
64ba90d
Compare
9736da2
to
7006314
Compare
7006314
to
6b66f16
Compare
This PR should be done from my side. Given that this is a kinda big PR to review, I have already organized everything into commits that take up stuff one at a time and focus on it fully. So, if it helps reviewing I can split this up into multiple PRs each with subsets of commits from here. |
@@ -331,6 +331,10 @@ pg_window_set_fullscreen(SDL_Window *window, int desktop) | |||
goto end; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically while working on fullscreen changes in display I saw that SDL_SetWindowFullscreenMode
in SDL3 has effect only if the window is already in fullscreen mode according to the docs. So I added a call here as well that does that first.
WIP to port
display.c
to SDL3