Esempio n. 1
0
File: ovr.go Progetto: postfix/ovr
func (hmd *Hmd) ResetFrameTiming(frameIndex uint) {
	C.ovrHmd_ResetFrameTiming(hmd.hmdRef, C.uint(frameIndex))
}
Esempio n. 2
0
File: ovr.go Progetto: krux02/libovr
// Initializes and resets frame time tracking. This is typically not necessary, but
// is helpful if game changes vsync state or video mode. vsync is assumed to be on if this
// isn't called. Resets internal frame index to the specified number.
func (hmd *Hmd) ResetFrameTiming(frameIndex int) {
	C.ovrHmd_ResetFrameTiming(hmd.cptr(), C.uint(frameIndex))
}