adamlwgriffiths / cyglfw3

Cython bindings for GLFW3
Other
20 stars 6 forks source link

Get PyOpenGL working #6

Closed adamlwgriffiths closed 9 years ago

adamlwgriffiths commented 10 years ago

For some reason PyOpenGL doesn't detect a GL context and throws exceptions when trying to call GL functions.

adamlwgriffiths commented 9 years ago

Needed to use glfwMakeContextCurrent before using PyOpenGL