docs: public boolean checkError (String op) {
      int reported = 0;
      if (checkErrors) {
        int error;
        while ((error = glGetError()) != GL_NO_ERROR) {
          reported += 1;
          System.err.println(op + ": glError " + error);
        }
      }
      return reported > 0;
    }