I’m getting a very strange error, I don’t know if it is due to my crappy Intel integrated graphics card.
w=1024;h=768;
DisplayMode dm = new DisplayMode(w,h);
Display.setDisplayMode(dm);
Display.create();
When I run it as a stand alone application, it runs fine.
When I run it as an Applet, on Eclipse’s applet viewer, it runs fine.
When I run in a browser as an applet, I get the error :
org.lwjgl.LWJGLException: Pixel format not accelerated
Sometimes, I refresh the page and then it loads fines. Sometimes it fails again.
Oh, and if I change w=800 and h=600, it never fails.
I’m using LWJGL 2.8.3.
Should I worry about it, or is it just my graphics card ?