OK, think I've got it - at least, it seems to work... BUFSIZE = 512 selectBufType = GLuint * BUFSIZE # Create the array, take a reference and cast it to the type required... selectBuf = cast(byref(selectBufType()), POINTER(GLuint)) glSelectBuffer(BUFSIZE, selectBuf)
So basically I'm doing the cast that I'd previously read I would get for free. All in all it's a little ugly, but otherwise survivable. :) (This discovery was inspired by the ctypes code in the shader.py file in pyglet/experimental.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
