DestroyWindow handles the termination of windows
()
| 107 | |
| 108 | // DestroyWindow handles the termination of windows |
| 109 | func DestroyWindow() { |
| 110 | sdl.GLDeleteContext(sdlGLContext) |
| 111 | Window.Destroy() |
| 112 | sdl.Quit() |
| 113 | } |
| 114 | |
| 115 | // SetTitle sets the title of the window |
| 116 | func SetTitle(title string) { |