code: public static JCGLFramebufferBlitFilter framebufferBlitFilterFromGL(
      final int filter)
    {
      switch (filter) {
        case GL11.GL_LINEAR: {
          return JCGLFramebufferBlitFilter.FRAMEBUFFER_BLIT_FILTER_LINEAR;
        }
        case GL11.GL_NEAREST: {
          return JCGLFramebufferBlitFilter.FRAMEBUFFER_BLIT_FILTER_NEAREST;
        }
        default:
          throw new UnreachableCodeException();
      }
    }
docs: Convert framebuffer blit filter from GL constants.
  
  @param filter The GL constant.
  
  @return The value.