jMonkeyEngine / jmonkeyengine

A complete 3-D game development suite written in Java.
http://jmonkeyengine.org
BSD 3-Clause "New" or "Revised" License
3.74k stars 1.12k forks source link

Setting the resolution to match the old prevents calling reshape #2290

Closed tonihele closed 1 week ago

tonihele commented 1 week ago

Reverted this change from https://github.com/jMonkeyEngine/jmonkeyengine/commit/ec9c8c5efcc08afa5bb7247abe644df68ca425b2.

Also I tested the canvas and it works (mainly because it is not the same implementation as it was on the commit linked).

Setting these variables made jME think that nothing was changed and no reshape was called.