Skip to content

feat(desktop): allow launching in fullscreen#329

Open
cobaltgit wants to merge 5 commits into
ButterscotchRunner:mainfrom
cobaltgit:fullscreen
Open

feat(desktop): allow launching in fullscreen#329
cobaltgit wants to merge 5 commits into
ButterscotchRunner:mainfrom
cobaltgit:fullscreen

Conversation

@cobaltgit

Copy link
Copy Markdown
Collaborator

Useful for linux handhelds that don't use a window manager. Tested working on SDL 1.2, SDL2, SDL3 and GLFW3

Fixes the below, pictured is Undertale (640x480) running on a TrimUI Brick Pro (1024x768) via the SDL2 desktop backend without the --fullscreen flag.
image

Useful for linux handhelds that don't use a window manager
@cobaltgit
cobaltgit marked this pull request as ready for review July 19, 2026 10:41
@Un1q32

Un1q32 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Can you implement the is fullscreen check function in gamemaker, and hook this up to it.
Also make sure this sets the correct resolution on HiDPI stuff.
Also, should we just fucking give up and disable HiDPI support? It makes the window way too small to play with on macOS, and makes stuff like this a nightmare to develop. There was a PR forever ago that tried to do all the fullscreen functions, and it couldn't get finished because of issues with HiDPI.

@Fancy2209

Copy link
Copy Markdown
Collaborator

What happens on PS2 and PS3?

@cobaltgit

cobaltgit commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator Author

They're stubbed out (checks if the fullscreen runner functions set in the desktop platform are nullpointer and does nothing if they are)

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.

3 participants