ui: Remove unnecessary lock protection

This commit is contained in:
Hajime Hoshi 2018-10-02 03:25:30 +09:00
parent fce82e1502
commit 9906c935f6

View File

@ -639,8 +639,8 @@ func (u *userInterface) loop(g GraphicsContext) error {
return err
}
u.m.Lock()
u.frame++
u.m.Lock()
vsync := u.vsync
u.m.Unlock()