예제 #1
0
파일: glfw.go 프로젝트: maun/glfw
func WindowHint(target, hint int) { C.glfwWindowHint(C.int(target), C.int(hint)) }
예제 #2
0
파일: window.go 프로젝트: godispy/glfw
// Hint function sets hints for the next call to CreateWindow. The hints,
// once set, retain their values until changed by a call to Hint or
// DefaultHints, or until the library is terminated with Terminate.
//
// This function may only be called from the main thread.
func WindowHint(target Hint, hint int) {
	C.glfwWindowHint(C.int(target), C.int(hint))
	panicError()
}