code: public static final int getMaxSingleImageSize() {
  		IntBuffer buffer = BufferUtils.createIntBuffer(16);
  		GL.glGetInteger(SGL.GL_MAX_TEXTURE_SIZE, buffer);
  		
  		return buffer.get(0);
  	}
docs: Get the maximum size of an image supported by the underlying
  hardware.
  
  @return The maximum size of the textures supported by the underlying
  hardware.