Hi, sorry, I'm probably completely blind - how can I reopen closed window of OpenGL ... or it's set to be destroyed?
I thought it would be something like Display.show() ... it's not :)
Display.create / destroy
Ya, that's what I thought ... isn't there a way not to doing the destroy? To tell not to destroy Display when Close button is pressed?
Why should the window NOT destroyed when the user press the "close" button? Thats dumb. Just reload all your stuff and be happy ;)
When I (the user) close a window (terminate the app) then I assume that I have to restart it.
Doesn't the close button just set the Display.isCloseRequested()? So you can ignore it?
Or is that not what you are looking for?
2Fool Runinning: Damn, I'm completely blind. Thanks - igonring is OK.
2Evil-Devil: Well actualy my application has a few windows and I've got code for initializing the LWJGL and stuff around it like fonts etc. from somebody else ... and I missed that isCloseRequested() in the code - dumb myself :cry: