It seems that I have a problem when changing display mode in lwjgl. I noticed that in older pcs changes results in nullPointerException. On my radeon9800 (and radeon 8500) things are fine, but on older Intel Graphics Display Adapter program crashes. I am doing this:
First 640 x 480:
Display.setDisplayMode(displayMode);
Display.setTitle(windowTitle);
Display.create();
Display.setFullscreen(false);
Then later 1024 x 768 fullscreen:
Display.setDisplayMode(newDisplayMode);
Display.setFullscreen(true);
Is it a driver problem (although they are most recent) or I am doing something wrong?