mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
d446aa39a9
commit
ac9a18931c
@ -1208,7 +1208,7 @@ func (u *UserInterface) setWindowSize(width, height int, fullscreen bool) {
|
||||
ch <- struct{}{}
|
||||
})
|
||||
u.window.SetSize(newW, newH)
|
||||
// Just after SetSize, GetSize is not reliable especially on Linux/Windows.
|
||||
// Just after SetSize, GetSize is not reliable especially on Linux/UNIX.
|
||||
// Let's wait for FramebufferSize callback in any cases.
|
||||
|
||||
// Use the timeout as FramebufferSize event might not be fired (#1618).
|
||||
|
Loading…
Reference in New Issue
Block a user