Re: Controlling vertical sync on Mac OS X / crashes when trying to access platform-specific stuff via ctypes

Nathaniel Virgo <[email protected]> Sat, 15 Jun 2013 12:03:53 +0900
Newsgroups gmane.comp.python.opengl.user
Message-ID <CAOoZStWtwSnRBfATE0ZxqkwjBtHTo6_tX5dS7CBLQRpEQ=wHjw@mail.gmail.com>
On 15 June 2013 04:57, Ian Mallett <[email protected]> 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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users