Throw an exception when starting jmp on intel X4500

Method makePbufferAvailable in lwjglCanvas throw an exception when starting jmp on intel X4500(On most intel display card i guess)

Scene viewer windows will not work and an ogl2.0 not supported warning will be popup.(x4500 actually supports ogl2.0)



And I modified some code from:



[java]pbuffer = new Pbuffer(1, 1, new PixelFormat(0, 0, 0, 0, 0), null);

//pbuffer = new Pbuffer(1, 1, acquirePixelFormat(), null);[/java]

to:

[java]//pbuffer = new Pbuffer(1, 1, new PixelFormat(0, 0, 0, 0, 0), null);

pbuffer = new Pbuffer(1, 1, acquirePixelFormat(), null);[/java]



Then it works. I have no idea and hope you guys can figured it out. Thank you very much for your time!

Yeah actually the 2nd way is correct as that way the same format is used for all rendering surfaces.