示例#1
0
func WaitVSync() bool {
	var v bool

	v = bool(C.al_wait_for_vsync())

	return v
}
示例#2
0
func WaitForVsync() bool {
	return bool(C.al_wait_for_vsync())
}
示例#3
0
文件: display.go 项目: beoran/algo
// Waits for the vertical retrace of the monitor to lessen tearing.
func WaitForVsync() {
	C.al_wait_for_vsync()
}