Antialiasing

I have read a bit about antialiasing.

It seems that if I want to have antialiasing on my shapes, I have to activate AA :


  Display.create(new PixelFormat(8,0,0,1));

But on my Intel G45, it doesn’t work :(. Even it is not a great graphic card, it is a pity to not have antialiasing on basic 2d drawing :’(

Any idea to get around this problem ?

The 4th argument in the PixelFormat constructor is the number of samples you want to use for multisampling. Setting it to 1 is a no-op since there’s one sample per fragment without antialiasing anyway. Try a power-of-two value higher than 1 (not sure what the max is for G45, probably 8).

With 1, it does work on a GeForce 8800 (not sure if it take 1 or 2). Anything other than 0 is not accepted by my G45 (i should check the driver).

Is it “Max samples:0” ? How do I get it from lwjgl ?