code: private void init() throws SlickException {
  		try {
  			Texture tex = InternalTextureLoader.get().createTexture(image.getWidth(), image.getHeight(), image.getFilter());
  
  			pbuffer = new Pbuffer(screenWidth, screenHeight, new PixelFormat(8, 0, 0), null, null);
  			// Initialise state of the pbuffer context.
  			pbuffer.makeCurrent();
  
  			initGL();
  			image.draw(0,0);
  			GL11.glBindTexture(GL11.GL_TEXTURE_2D, tex.getTextureID());
  			GL11.glCopyTexImage2D(GL11.GL_TEXTURE_2D, 0, GL11.GL_RGBA, 0, 0, 
  								  tex.getTextureWidth(), 
  								  tex.getTextureHeight(), 0);
  			image.setTexture(tex);
  			
  			Display.makeCurrent();
  		} catch (Exception e) {
  			Log.error(e);
  			throw new SlickException("Failed to create PBuffer for dynamic image. OpenGL driver failure?");
  		}
  	}
docs: Initialise the PBuffer that will be used to render to
  
  @throws SlickException