Esempio n. 1
0
File: glfw.go Progetto: maun/glfw
func WindowHint(target, hint int) { C.glfwWindowHint(C.int(target), C.int(hint)) }
Esempio n. 2
0
// 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()
}