Turning VSync on/off?

futnuh

10-09-2007 23:32:51

Any ideas why this doesn't seem to have any effect?

self.root.getRenderSystem().setWaitForVerticalBlank(True)
print self.root.getRenderSystem().getWaitForVerticalBlank()

It seems to set the flag but I still see "shearing" and the frame-rate doesn't drop to the expected 60 fps.

print self.window.getLastFPS()

Numsgil

02-10-2007 08:44:42

Are you running in windowed mode? Vsyncing like that doesn't seem to work unless you're in fullscreen.