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

OpenGL context 3.2+ on Mac OS X requires SDL_GL_CONTEXT_PROFILE_CORE #1303

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed
Labels
enhancement New feature or request invalid This doesn't seem right

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.1
Reported for operating system, platform: Mac OS X 10.8, x86

Comments on the original bug report:

On 2014-01-09 22:33:40 +0000, wrote:

As documented by Apple, Mac OS X supports OpenGL 3.x/4.x only through the core profile.

With SDL 2.0.1, if you request a 3.2 profile you get an unexpected failure with little explanation for the reason and no obvious documentation on how to solve.

Based on the principle of least surprise, SDL should automatically use SDL_GL_CONTEXT_PROFILE_CORE when the user asks for a 3.x/4.x context on Mac OS X. This is the only supported configuration so it would make sense to be the default.

On 2015-02-18 21:48:33 +0000, Ryan C. Gordon wrote:

No, it is correct to fail here; if you don't ask for a Core profile but we give you one anyhow, your app might be expecting to use non-Core functionality that doesn't exist/won't work/will crash if used.

--ryan.

@SDLBugzilla SDLBugzilla added enhancement New feature or request invalid This doesn't seem right labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant