Closed bendgk closed 6 years ago
Hello Benjamin,
glViewport
and all other OpenGL functions are not part of GLFW and therefore not provided by this Python wrapper for GLFW. You will want to use an OpenGL wrapper like PyOpenGL for that. Also, see What is GLFW not? in the GLFW FAQ.
By the way, thanks for your pull request, I'll look into it later today. :)
I don't see the wrapper for this in any of the branches and when I tried
glfw.gl_viewport(0, 0, 640, 480)
my program crashes to anAttributeError: module 'glfw' has no attribute 'gl_viewport'