Hi,
i've just ported jPCT to 2.0rc2. Everything works fine except for anti aliasing...it's gone. I'm doing this:
Display.create(new PixelFormat(bpp, 0, zbpp, 0, samples));
No matter which value i'm using for samples, it always gives me a
org.lwjgl.LWJGLException: Failed to find ARB pixel format 1 0
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:177)
at org.lwjgl.opengl.Display.createWindow(Display.java:300)
at org.lwjgl.opengl.Display.create(Display.java:816)
at org.lwjgl.opengl.Display.create(Display.java:744)
I don't know about 2.0rc1, but in 1.1.4, the exact same code was working fine and gave me some nice AA. Any ideas?
This is on a Radeon 4870, Catalyst 8.8, Windows Vista