func WaitSync(sync uintptr, flags uint32, timeout uint64) {
	syscall.Syscall(gpWaitSync, 3, uintptr(sync), uintptr(flags), uintptr(timeout))
}
func WaitSync(sync uintptr, flags uint32, timeout uint64) {
	syscall.Syscall(gpWaitSync, 3, uintptr(sync), uintptr(flags), uintptr(timeout))
}
// instruct the GL server to block until the specified sync object becomes signaled