I decided I really needed to get the OpenGL-ctypes GLUT support finished, so I just sat down and pounded on it for a few hours. The fonts were getting messed up because I was missing the import of a & indirection (resolution, whatever) operator in the definition. Basically there's a void * in the .so, but we want a pointer to that pointer, not the pointer itself.
Also made a few small fixes to the callback machinery to work around bugs that showed up during testing. There's still lots of functions I don't have test-cases for, but the big ones (i.e. the ones I use in OpenGLContext) seem to be working properly.
I'm considering now whether to move to the extension handling, or whether to work on supporting the GLUT-extension packages (FreeGLUT, OpenGLUT).
Pingbacks are closed.