On Jan 24, 7:05 am, Tristam MacDonald <[email protected]> wrote: > Ah, clever - I forgot that Quartz already exposed a C binding to that > functionality. Is there any particular reason you are trying to do > that via ctypes, rather than through PyObjC's own Quartz package?
None of the CGL functions are available from PyObjC (or I'm just not looking for them in the right place). > I was actually talking about a much lower-level solution. You can send > Objective-C messages from pure C (and thus ctypes) via the > objc_msgSend() function (which is the underlying implementation of > Objective-C messaging): You'd still have to have a pointer to the NSOpenGLContext instance. Is it possible in PyObjC to get a valid C pointer to an object? --phillip -- 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.
