mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
8b1100888e
commit
f5574d911e
@ -1042,7 +1042,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