Re: Disable and Enable vsync
Simone Riva <[email protected]> Tue, 11 Dec 2012 09:30:35 +0100
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAB2A=UPQ4r3J44X07eSV+mBs6dNnsnOWMGeqUjfSD-MAPqROFA@mail.gmail.com> |
I'm always searching for a solution.
I've an nvidia video card
The function:
*glXSwapIntervalSGI*(0)
Don't produce any errors but it has no effect.
The function:
*glXSwapIntervalMESA*
Is listed in the package but it return this error:
File "/usr/lib/python2.7/site-packages/OpenGL/platform/baseplatform.py",
line 384, in __call__
self.__name__, self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined function
glXSwapIntervalMESA, check for bool(glXSwapIntervalMESA) before calling
Exception TypeError: "'NoneType' object is not callable" in <bound method
AxisOgl.__del__ of <pyparticles.ogl.axis_ogl.AxisOgl object at 0x450de90>>
ignored
And the function:
*glXSwapIntervalEXT*
Is not in the package.
Do you have some idea ?
2012/12/5 Simone Riva <[email protected]>
> I'm trying to disable or enable via software the *vsync* with
> pyopengl under Linux and Windows, but at the moment I've not yet found the
> solution.
>
> The functions:
> glXSwapIntervalSGI
> glXSwapIntervalMESA
> glXSwapIntervalEXT
>
> Does not work.
>
> Do you known ho to do this job?
>
> TNX.
>
> SR
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users