mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
parent
b726d19b00
commit
f063f3ef67
@ -1208,7 +1208,7 @@ func (u *UserInterface) setWindowSize(width, height int, fullscreen bool) {
|
|||||||
ch <- struct{}{}
|
ch <- struct{}{}
|
||||||
})
|
})
|
||||||
u.window.SetSize(newW, newH)
|
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.
|
// Let's wait for FramebufferSize callback in any cases.
|
||||||
|
|
||||||
// Use the timeout as FramebufferSize event might not be fired (#1618).
|
// Use the timeout as FramebufferSize event might not be fired (#1618).
|
||||||
|
Loading…
Reference in New Issue
Block a user