mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ui: Remove unneeded early return
This commit is contained in:
parent
3e5933a972
commit
473aeaa8b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user