ui: Remove unneeded early return

This commit is contained in:
Hajime Hoshi 2017-12-31 18:37:04 +09:00
parent 3e5933a972
commit 473aeaa8b1

View File

@ -85,7 +85,6 @@ func (u *userInterface) update(g GraphicsContext) error {
// Sizing also calls GL functions
u.sizeChanged = false
g.SetSize(u.width, u.height, u.actualScreenScale())
return nil
}
if err := g.Update(func() {}); err != nil {
return err