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

Fix crash on switching to fullscreen when output=opengl (Intel macOS) #4570

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

maron2000
Copy link
Contributor

On macOS, DOSBox-X crashes when switching to fullscreen when output=opengl.
The crash occurs when output is switched from surface (default) to opengl, and then switched to fullscreen.
This PR makes opengl to be the default to avoid such crash.
I can't test Arm macs, but since there are no bug reports, I leave default output of arm mac to be surface.

Tested on MacOS Monterey 12.7.1 and ArchLinux (SDL1 & SDL2).

Fixes #4567
(PR #4568 tried to do the same but reverted unwanted replacements of line-feed code etc.)

@joncampbell123 joncampbell123 merged commit 30354fd into joncampbell123:master Nov 2, 2023
17 checks passed
@maron2000 maron2000 deleted the macos_outputfix branch November 19, 2023 13:32
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.

Blank screen/crash on switching to fullscreen when output=opengl (Intel macOS)
2 participants