Пример #1
0
Файл: glfw.go Проект: maun/glfw
func WindowHint(target, hint int) { C.glfwWindowHint(C.int(target), C.int(hint)) }
Пример #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()
}