mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
uidriver/glfw: Bug fix: isInitWindowMaximized didn't unlock the mutex
This commit is contained in:
parent
b1bc06935a
commit
af6961fc17
@ -376,6 +376,7 @@ func (u *UserInterface) isInitWindowMaximized() bool {
|
|||||||
func (u *UserInterface) setInitWindowMaximized(floating bool) {
|
func (u *UserInterface) setInitWindowMaximized(floating bool) {
|
||||||
u.m.Lock()
|
u.m.Lock()
|
||||||
u.initWindowMaximized = floating
|
u.initWindowMaximized = floating
|
||||||
|
u.m.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *UserInterface) isInitFocused() bool {
|
func (u *UserInterface) isInitFocused() bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user