Re: [PyOpenGL-Users] Disable and Enable vsync
Brought to you by:
mcfletch
From: Simone R. <sim...@gm...> - 2012-12-11 10:07:16
|
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 <sim...@gm...> > 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 > |