Re: [PyOpenGL-Users] Controlling vertical sync on Mac OS X / crashes when trying to access platform
Brought to you by:
mcfletch
From: Nathaniel V. <nat...@gm...> - 2013-06-15 03:04:20
|
On 15 June 2013 04:57, Ian Mallett <ia...@ge...> wrote: > > This seems relevant to GLUT VSync-ing: > www.opengl.org/discussion_boards/showthread.php/173017-Vsync-with-glut > > Ian > Hi Ian As far as I can tell, the glX* functions referred to in that link are the platform-specific stuff for X Windows, whereas the CGL* functions used in the code I posted are the equivalent for a Mac. However, the problem is that I can't seem to call any of these platform specific functions from within Python without causing a segmentation fault. Of course, if you or anyone else has any code for calling glX* functions on linux from PyOpenGL it would really help a lot, because maybe I can modify it to use the CGL* functions that I need to use on OS X. Kind regards, Nathaniel -- Nathaniel Virgo http://nathanielvirgo.com |