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