Make everything work with opengl 3.0 since there is no way (as of 6 aug 2015) to get pygame to specify an opengl 3.3 context.

Open
#1 · Created  · Last updated

Description

  • removed 'location' from shader params

  • changed shader version to 130

This is a real bugger, but there doesn't seem to be a good way of using opengl 3.3 with pygame and mesa.

pygame bug https://bitbucket.org/pygame/pygame/issues/85/creation-of-a-32-or-41-core-profile

You can run the examples like this:

MESA_GL_VERSION_OVERRIDE=3.3 python 02_FragPosition.py

One way of enabling 'location' might be to use the ARB - separate_shader_objects - no idea if it's possible this way or not.

0 attachments

0 comments

Loading commits...