ui: Bug fix: Compile error on Windows

This commit is contained in:
Hajime Hoshi 2020-03-21 22:16:23 +09:00
parent f317f3b5fd
commit 63caca720b

View File

@ -181,6 +181,11 @@ func (w *Window) Maximize() {
panicError()
}
func (w *Window) Restore() {
glfwDLL.call("glfwRestoreWindow", w.w)
panicError()
}
func (w *Window) SetCharModsCallback(cbfun CharModsCallback) (previous CharModsCallback) {
var gcb uintptr
if cbfun != nil {