|
I'm not sure this is a bug.
As you have discovered, a call to reinit() is probably the way to go since Slick's rendering engine is based more on a retained mode model than an immediate mode model.
Resolution change is a costly operation, so triggering it on the width/height set would create a pretty interesting and unappealing "double operation" side effect since you have to set those parameters in separate properties after the container has been constructed.
Because of this, it's reasonable that you should set your screen sizes and have it perform the resolution change via reinit() once you have all the parameters of your transaction plugged into the game container.
|