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 code to gl_cube example showing how to create a 3.2 or 4.1 Core Profile context #85
Comments
Is this issue to support more modern OpenGL versions on pygame 1 or just to support setting the Open GL version in pygame more generally? From what I can tell SDL 2 supports this fairly straightforwardly, but no support for it has ever been added to SDL 1.2. Setting OpenGL version in SDL2:
Is the library going to let users set this when using OpenGL, in the normal way that you can set SDL variables, or is it going to do it for them as this issue implies. If it's doing it for them, don't we still need some way for them to select a version anyway (e.g. 2.1, 3.2 or 4.1). |
There's a It's not used in examples/ though. |
So what's needed for this is an example? It looks like @einarf is already using the feature in production. |
Yup. Works like a charm cross platform (win/osx/linux) : https://github.com/moderngl/moderngl-window/blob/de6b5c0134ef078984418c0e87f8ff04e21eb2ce/moderngl_window/context/pygame2/window.py#L30-L35 |
Add something like this to the start of
? |
This is now merged and will be available in 2.0.0.dev10. |
Originally reported by: René Dudfield (Bitbucket: illume, GitHub: illume)
Need to investigate how to create a 3.2 or 4.1 Core Profile context in pygame's set_display_mode.
Asked on the SDL mailing list if it is possible with SDL 1.2.
Need to report back findings on PyOpenGL mailing list.
The text was updated successfully, but these errors were encountered: