예제 #1
0
파일: glfw.go 프로젝트: gordonklaus/glfw
func PostEmptyEvent() {
	C.glfwPostEmptyEvent()
}
예제 #2
0
파일: window.go 프로젝트: godispy/glfw
// PostEmptyEvent posts an empty event from the current thread to the main
// thread event queue, causing WaitEvents to return.
//
// If no windows exist, this function returns immediately.  For
// synchronization of threads in applications that do not create windows, use
// your threading library of choice.
//
// This function may be called from secondary threads.
func PostEmptyEvent() {
	C.glfwPostEmptyEvent()
	panicError()
}