} catch (final LWJGLException ex) {
ex.printStackTrace();
}
// Set up our Ardor3D context and capabilities objects
final LwjglContextCapabilities caps = new LwjglContextCapabilities(GLContext.getCapabilities());
final RenderContext currentContext = new RenderContext(this, caps, null);
if (!caps.isFBOSupported()) {
throw new Ardor3dException("Headless requires FBO support.");
}
if (caps.isFBOMultisampleSupported() && caps.isFBOBlitSupported() && _settings.getSamples() > 0) {
_useMSAA = true;
}
// Init our FBO.
final IntBuffer buffer = BufferUtils.createIntBuffer(1);