protected void makePbufferAvailable() throws LWJGLException {
        if (pbuffer != null && pbuffer.isBufferLost()) {
            logger.log(Level.WARNING, "PBuffer was lost!");
            pbuffer.destroy();
            pbuffer = null;
        }

        if (pbuffer == null) {
            pbuffer = new Pbuffer(1, 1, acquirePixelFormat(true), null);
            pbuffer.makeCurrent();
            logger.log(Level.FINE, "OGL: Pbuffer has been created");

            // Any created objects are no longer valid
            if (!runningFirstTime) {
                renderer.resetGLObjects();
            }
        }

        pbuffer.makeCurrent();
        if (!pbuffer.isCurrent()) {
            throw new LWJGLException("Pbuffer cannot be made current");
        }
    }
Makes sure the pbuffer is available and ready for use

@throws LWJGLException if the buffer can't be made current
jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglCanvas.java