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

Add support for setting the OpenGL version #132

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Conversation

JamesWrigley
Copy link
Collaborator

Also removed the explicit GLFW.Init()/GLFW.Terminate() calls since GLFW will do that automatically.

@Gnimuc, @sairus7, does this look reasonable? I tried to preserve the previous behaviour, except for defaulting to OpenGL 3.2 on non-OSX systems.

Also removed the explicit GLFW.Init()/GLFW.Terminate() calls since GLFW will do
that automatically.
@JamesWrigley JamesWrigley self-assigned this Jul 9, 2024
@JamesWrigley
Copy link
Collaborator Author

(if there's no objections I'll merge this in the next few days)

@sairus7
Copy link
Collaborator

sairus7 commented Jul 11, 2024

I don't know if we would need several backends, but it looks good.

@JamesWrigley
Copy link
Collaborator Author

Do you mean like for SDL etc? Yeah some options may eventually be specific to their backends, at that point we'll just have to document them as such.

@JamesWrigley JamesWrigley merged commit b8b2ff6 into master Jul 20, 2024
26 checks passed
@JamesWrigley JamesWrigley deleted the gl-version branch July 20, 2024 10:46
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