コード例 #1
0
ファイル: window.go プロジェクト: amsibamsi/three
// Destroy destroys the GLFW window.
func (w *Window) Destroy() {
	C.glfwDestroyWindow(w.glfwWin)
}
コード例 #2
0
ファイル: window.go プロジェクト: gordonklaus/glfw
func (w *Window) Destroy() {
	C.glfwDestroyWindow(w.w)
	windows.Lock()
	delete(windows.m, w.w)
	windows.Unlock()
}
コード例 #3
0
ファイル: window.go プロジェクト: juturnas/glfw3
//Destroy destroys the specified window and its context. On calling this
//function, no further callbacks will be called for that window.
//
//This function may only be called from the main thread. See
//https://code.google.com/p/go-wiki/wiki/LockOSThread
func (w *Window) Destroy() {
	windows.remove(w.data)
	C.glfwDestroyWindow(w.data)
}
コード例 #4
0
ファイル: glfw.go プロジェクト: maun/glfw
func DestroyWindow(window Window) { C.glfwDestroyWindow(C.GLFWwindow(window)) }
コード例 #5
0
ファイル: window.go プロジェクト: godispy/glfw
// Destroy destroys the specified window and its context. On calling this
// function, no further callbacks will be called for that window.
//
// This function may only be called from the main thread.
func (w *Window) Destroy() {
	windows.remove(w.data)
	C.glfwDestroyWindow(w.data)
	panicError()
}