// ShouldClose returns true if the window was requested to close by a GUI // operation. func (w *Window) ShouldClose() bool { should := C.glfwWindowShouldClose(w.glfwWin) return should != 0 }
//ShouldClose returns the value of the close flag of the specified window. func (w *Window) ShouldClose() bool { return glfwbool(C.glfwWindowShouldClose(w.data)) }
func (w *Window) ShouldClose() bool { return C.glfwWindowShouldClose(w.w) == C.GL_TRUE }
// ShouldClose returns the value of the close flag of the specified window. func (w *Window) ShouldClose() bool { ret := glfwbool(C.glfwWindowShouldClose(w.data)) panicError() return ret }