LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: il_palazzo on October 17, 2015, 01:18:49

Title: LWJGL 2: Some methods disable window resizing
Post by: il_palazzo on October 17, 2015, 01:18:49
Hi,
I have a strange problem with latest LWJGL 2 libs (ver. 2.9.3).

If I call some methods (eg Display.setLocation or Display.setDisplayMode) after Display.create and Display.setResizable = true, the window is no more resizable  :(

I haven't found any method to re-enable the window resize... I've also tried to re-call setResizable (true); but no success...

Is there a way/workaround to have a resizable window?
Thanks.

Title: Re: LWJGL 2: Some methods disable window resizing
Post by: il_palazzo on October 17, 2015, 18:57:16
Nobody?  :'(
Title: Re: LWJGL 2: Some methods disable window resizing
Post by: kappa on October 17, 2015, 19:25:01
The focus is now fully on LWJGL3, why not just switch to LWJGL3? You'll have much better resizing and windowing support (including multiple windows).
Title: Re: LWJGL 2: Some methods disable window resizing
Post by: il_palazzo on October 17, 2015, 19:45:49
OK, I will try to convert my test project to LWJGL3. :)

But then... Is LWJGL2 2.9.3 lib the last release? Therefore, no more updates on LWJGL2 ?


Title: Re: LWJGL 2: Some methods disable window resizing
Post by: kappa on October 17, 2015, 19:48:32
Quote from: il_palazzo on October 17, 2015, 19:45:49
But then... Is LWJGL2 2.9.3 lib the last release? Therefore, no more updates on LWJGL2 ?
see here (http://blog.lwjgl.org/lwjgl-2-9-2-released/).
Title: Re: LWJGL 2: Some methods disable window resizing
Post by: il_palazzo on October 17, 2015, 19:51:18
Ah OK, I see, thanks  ;D