mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
internal/uidriver/glfw: Misspelling
This commit is contained in:
parent
1013ca9c66
commit
4cb6cb9d6a
@ -1366,7 +1366,7 @@ func (u *UserInterface) maximizeWindow() {
|
|||||||
|
|
||||||
if !u.isFullscreen() {
|
if !u.isFullscreen() {
|
||||||
// On Linux/UNIX, maximizing might not finish even though Maximize returns. Just wait for its finish.
|
// On Linux/UNIX, maximizing might not finish even though Maximize returns. Just wait for its finish.
|
||||||
// Do not check this on the fullscreen since apparently the condition never be true.
|
// Do not check this on the fullscreen since apparently the condition can never be true.
|
||||||
for u.window.GetAttrib(glfw.Maximized) != glfw.True {
|
for u.window.GetAttrib(glfw.Maximized) != glfw.True {
|
||||||
glfw.PollEvents()
|
glfw.PollEvents()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user