fix compile error

This commit is contained in:
faiface 2017-04-10 00:48:17 +02:00
parent c2633848f6
commit 8489bdad27
1 changed files with 1 additions and 1 deletions

View File

@ -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)