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

SDL: Try to continue if EGL init fails #12957

Merged
merged 1 commit into from
May 24, 2020

Conversation

unknownbrackets
Copy link
Collaborator

SDL2 inits EGL for us, and does some heuristics to get color sizes as close to what we request as possible. It doesn't care about GL version or alpha, even on Mali.

Probably we should just stop using EGL on SDL2, but I'm not sure if that's making things work for some users. But if EGL init fails, try to avoid a segfault and skip EGL. It can't be worse than segfaulting.

Should help #12474, but untested.

-[Unknown]

Probably we should just stop using EGL on SDL2, but I'm not sure if
that's making things work for some users.  But if EGL init fails, try
to avoid a segfault and skip EGL.

Should help hrydgard#12474.
@unknownbrackets unknownbrackets added this to the v1.10.0 milestone May 23, 2020
@hrydgard hrydgard merged commit 1ba7e01 into hrydgard:master May 24, 2020
@unknownbrackets unknownbrackets deleted the sdl-egl branch May 24, 2020 17:12
jdorigao added a commit to jdorigao/batocera.linux that referenced this pull request Jun 28, 2021
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.

2 participants