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

Screen goes black on startup on macOS with retina screen #1

Open
blurpy opened this issue May 22, 2021 · 0 comments
Open

Screen goes black on startup on macOS with retina screen #1

blurpy opened this issue May 22, 2021 · 0 comments

Comments

@blurpy
Copy link
Owner

blurpy commented May 22, 2021

Screen goes black for a couple of seconds when starting the emulator, like if it tries to change mode. Then it returns to the desktop and everything works as normal. Does not happen if a second monitor is connected, no matter if the window opens on the retina screen or the other screen.

From experimenting in Window.cpp it seems to happen in the line SDL_CreateRenderer(). Returning before that line results in no black screen, but also no window. Have tried different parameters in both SDL_CreateWindow() and SDL_CreateRenderer() but have not found anything that changes the behavior.

Google searches seem to suggest there are many who have issues with a persistent black screen with SDL and OpenGL on macOS, but I don't use OpenGL and it's not persistent, so must be something else.

This does not happen on Windows or Linux.

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