fix compile error
This commit is contained in:
parent
4374bb7be1
commit
4eca5f2d1e
|
@ -125,7 +125,7 @@ func NewWindow(cfg WindowConfig) (*Window, error) {
|
||||||
w.initInput()
|
w.initInput()
|
||||||
w.SetMonitor(cfg.Fullscreen)
|
w.SetMonitor(cfg.Fullscreen)
|
||||||
|
|
||||||
w.canvas = NewCanvas(cfg.Bounds, false)
|
w.canvas = NewCanvas(cfg.Bounds)
|
||||||
w.Update()
|
w.Update()
|
||||||
|
|
||||||
runtime.SetFinalizer(w, (*Window).Destroy)
|
runtime.SetFinalizer(w, (*Window).Destroy)
|
||||||
|
|
Loading…
Reference in New Issue