mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
b5d4c834b8
Before this change, setWindowSize converts the size in device- independent pixels once, invokes adjustWindowSizeBasedOnSizeLimitsInDP, and then restore the values in device-dependent pixels. This might introduce a slight error and then SetSize be unexpectedly invoked. Such SetSize call with a slightly different size might not invoke the FramebufferSize callback, and then this blocked forever when maximizing the window. This change fixes this by adjusting the size limits instead of the window size so that the window size is not modified unexpectedly. Closes #1577 |
||
---|---|---|
.. | ||
glfw | ||
js | ||
mobile |