Updated some stuff for the future

This commit is contained in:
Belac Darkstorm
2016-09-03 22:02:00 -05:00
parent 38a7c10268
commit c758d57f2a
3 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -53,5 +53,7 @@ func uiMain(dri gxui.Driver) {
top.AddChild(but)
top.AddChild(spl)
win.AddChild(top)
win.OnClose(dr.Terminate)
win.OnClose(func() {
dr.Terminate()
})
}