code: public static JCGLFramebufferStatus framebufferStatusFromGL(
      final int status)
    {
      switch (status) {
        case GL.GL_FRAMEBUFFER_COMPLETE:
          return JCGLFramebufferStatus.FRAMEBUFFER_STATUS_COMPLETE;
        case GL.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT:
          return JCGLFramebufferStatus
            .FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_ATTACHMENT;
        case GL.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:
          return JCGLFramebufferStatus
            .FRAMEBUFFER_STATUS_ERROR_MISSING_IMAGE_ATTACHMENT;
        case GL3.GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER:
          return JCGLFramebufferStatus
            .FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_DRAW_BUFFER;
        case GL3.GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER:
          return JCGLFramebufferStatus
            .FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_READ_BUFFER;
        case GL.GL_FRAMEBUFFER_UNSUPPORTED:
          return JCGLFramebufferStatus.FRAMEBUFFER_STATUS_ERROR_UNSUPPORTED;
        default:
          return JCGLFramebufferStatus.FRAMEBUFFER_STATUS_ERROR_UNKNOWN;
      }
    }
docs: Convert framebuffer status from GL constants.
  
  @param status The GL constant.
  
  @return The value.