mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
9c321375c9
commit
40d2dd3ba7
@ -975,6 +975,7 @@ func (u *UserInterface) update() (float64, float64, bool, error) {
|
|||||||
|
|
||||||
// Call updateVsync even though fpsMode is not updated.
|
// Call updateVsync even though fpsMode is not updated.
|
||||||
// The vsync state might be changed in other places (e.g., the SetSizeCallback).
|
// The vsync state might be changed in other places (e.g., the SetSizeCallback).
|
||||||
|
// Also, when toggling to fullscreen, vsync state might be reset unexpectedly (#1787).
|
||||||
u.updateVsync()
|
u.updateVsync()
|
||||||
|
|
||||||
outsideWidth, outsideHeight, outsideSizeChanged := u.updateSize()
|
outsideWidth, outsideHeight, outsideSizeChanged := u.updateSize()
|
||||||
|
Loading…
Reference in New Issue
Block a user