docs: public static void checkVersion(GLVersioned required, GLVersioned object) {
          if (!debug) {
              return;
          }
          final GLVersion requiredVersion = required.getGLVersion();
          final GLVersion objectVersion = object.getGLVersion();
          if (objectVersion.getMajor() > requiredVersion.getMajor() && objectVersion.getMinor() > requiredVersion.getMinor()) {
              throw new IllegalStateException("Versions not compatible: expected " + requiredVersion + " or lower, got " + objectVersion);
          }
      }