LWJGL 2.9.0

The LWJGL team is proud to present the latest release of LWJGL: 2.9.0

This release contains a complete rewrite of the OS X backend as well as a truckload of miscellaneous fixes. Please consider upgrading ASAP.

This is the first release build since switching to https://github.com/LWJGL/lwjgl

LWJGL 2.9.0

OSX:

- Add: Implement native and animated cursor support on OS X
- Add: Implement Mouse.isInsideWindow()
    - Add: Cocoa based native Keyboard and Mouse
- Fix: Switched to native Cocoa windowing system for the native Display
    - Fix: Dropped pbuffer usage and switched to offscreen FBO's when using CALayer's
- Fix: CALayer positioning and workaround Java 7 bug (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7172187)
- Fix: Workaround Nvidia driver bug which crashed the OS when releasing a shared context by not releasing shared contexts.
- Fix: Modifiers now report the correct side they are pressed. Added 'fn'-key as modifier
- Fix: Allow the use of F16-F19, SECTION, INSERT, HOME, END, DELETE, NUMPADENTER, CLEAR, LMETA keys
    - Removed: support for OSX 10.3 and 10.4

Windows:

- Fix: focus problems with Display.setParent
- Fix: setIcon will now block until the taskbar icon has updated
- Fix: async state query for missed key events

OpenGL:

- Fix: DrawIndirect buffer size checks and removed null-termination checks
- Add: Alternative VertexAttribPointer with ByteBuffer data and explicit type

FreeBSD:

- Add: Support for compiling - no official binaries.

OpenCL:

- Fix: updated KHR extensions to OpenCL 1.2

Download: https://sourceforge.net/projects/java-game-lib/files/
Changelog: http://www.lwjgl.org/changelogs/2.9.0-changelog.txt

Remember to donate :wink:

Notice: We’d like to remind people to include the copyright, conditions and disclaimer statement for LWJGL in their products, as required by the license. Though we are not about to claim foul in any way, it would be nice to see a link back to lwjgl.org in the credits or documentation at the very minimum.

Awesome. I’ll update libgdx next week, which should gain you a few more testers on OSX. Thanks for all the hard work!

Thank you for the lwjgl!

And thank you for the libgdx update!

You said this twice, I suppose it’s extra important!

Oh sweet baby Jesus yes.
Does it still have the drawing issues with menus that drop down? Right now I had to throw in some hacky crap to make it clear the spot where the menu was.

[quote=“StumpyStrust,post:5,topic:41579”]
You can use Display.isDirty() to determine when such a repaint is required. It works fine with both JMenus and JPopupMenus. Something that didn’t make it to 2.9 and will appear in the next nightly build is that LWJGL will now properly close any open menus when you click on the canvas.

Do the menus still appear under the lwjgl canvas?

I wanted everything to work with jre7 so I was using the nightly builds but they broke a whole lot of other things. Fixed focus issues with java 7 but got the menu item issues back.

No, the menus appear above the LWJGL display.