I checked out lwjgl from CVS but was unable to build the mac os x native so I linked to the lwjgl 0.99 version of liblwjgl.jnilib and ran WindowCreationTest getting the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: nSetSwapInterval
at org.lwjgl.opengl.MacOSXContextImplementation.nSetSwapInterval(Native Method)
at org.lwjgl.opengl.MacOSXContextImplementation.setSwapInterval(MacOSXContextImplementation.java:116)
at org.lwjgl.opengl.Context.setSwapInterval(Context.java:221)
at org.lwjgl.opengl.Display.setSwapInterval(Display.java:800)
at org.lwjgl.opengl.Display.createWindow(Display.java:269)
When I comment out the line:
setSwapInterval(swap_interval);
in Display.createWindow() it works fine.
Any explanation about what is going wrong? Thanks in advance!
setSwapInterval is a new method which was added after 0.99 was released.