Hi everyone
Another bug report: Window resizing on OS X leads to weird results. Here's how it works:
1. Create a resizable LWJGL window
2. Display.getHeight() returns 336
3. Make the window wider (with your mouse, don't change the height - drag the right border)
4. Display.getHeight() now suddenly returns 358
I feel it should still return 336. Also the window contents are now suddenly moved a couple of pixels (probably 22) higher. The problem is that the top 22 pixels of every window are covered by the title bar - the stuff under it is not visible. To recap: Everything looks & works fine, until the window is resized - then Display.getHeight() returns wrong values and OpenGL draws a couple pixels too high.
Here's a test version of our game, continously printing the display height when you start it from a terminal:
http://iru.ch/gutknech/cultris2.app.zipTry to run it and note the number (Display height), then resize the window horizontally and note how the number suddenly changes. I tested it with the latest nightly build of LWJGL and on OS X 10.6 & 10.7.
Cheers,
Simon