OpenGL works *so* much better when using error checking (But don't forget that you can't use it within glBegin/glEnd)


Just finished the surgery to make OpenGL-ctypes do error-checking for all functions that allow error checking (i.e. those outside of glBegin/glEnd). It's still a bit ugly looking in there (the scar from having two wrapper classes will eventually have to be removed), but it does make the system work with considerably more of the tests (e.g. the GLU tessellation code just magically started working).

I also made the wrappers classes/instances instead of closure functions. It's slightly slower as a design in Python, but it's closer to what a C version would look like, and it makes it so much nicer to see what's going on from the command line (and from PyDoc).

Comments

Comments are closed.

Pingbacks

Pingbacks are closed.