My petard, it is exploding! (glutInit failure was due to an auto-generated wrapper)


Finally got the glutInit function working (and, in fact, enough of GLUT to do a "hello world" with it). I even went to the extreme of adding a test case to ctypes that deals with a similarly structured argument set. The problem, it turned out, was that I was using the auto-generated wrapper, which had set various argtypes on the function, and those were confusing ctypes something nasty. The raw ctypes function worked perfectly well.

Also merged PyOpenGL's maintenance branch back to head so that Charles can do development on the head (which was where he was working anyway). Checked OpenGL-ctypes into CVS, but unfortunately I was one level too high in the directory tree when I did it, so the repository is now filled with empty, pointless directories :( .

Comments

Comments are closed.

Pingbacks

Pingbacks are closed.