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

Bump OpenGL version to 3.3 for the SDL example #1504

Closed
wants to merge 2 commits into from
Closed

Bump OpenGL version to 3.3 for the SDL example #1504

wants to merge 2 commits into from

Conversation

jiri
Copy link
Contributor

@jiri jiri commented Dec 15, 2017

This should fix #1466.

The SDL_GL_CONTEXT_PROFILE_CORE flag is added because to my knowledge, macOS will refuse to create a modern OpenGL context without it.

@ocornut
Copy link
Owner

ocornut commented Jan 7, 2018

Merged equivalent code. (I didn't merge your PR as is, because unrebased + you set up the SDL_GL_CONTEXT_PROFILE_CORE flag seven lines below code that already set it up.
Thanks for raising that topic, working on sorting out #1466 now.

@ocornut ocornut closed this Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sdl_opengl3_example requires GL 3.2 but shaders require GLSL 3.30
2 participants