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

AG_WindowShow() fails on macOS Sonoma #85

Open
kwhr0 opened this issue May 31, 2024 · 0 comments
Open

AG_WindowShow() fails on macOS Sonoma #85

kwhr0 opened this issue May 31, 2024 · 0 comments

Comments

@kwhr0
Copy link

kwhr0 commented May 31, 2024

On macOS Sonoma, SDL_GL_CreateContext() fails after calling SDL_GetWindowSurface().
https://discourse.libsdl.org/t/sdl-window-opengl-on-mac-sonoma-sdl-2-28-5-not-working/48866

The error message is as follows.

SDL_GL_CreateContext: The specified window isn't an OpenGL window

This causes AG_WindowShow() to fail.

I patched the following as a first aid, but it is not universal.
https://github.com/kwhr0/libagar/tree/first_aid

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