How do I include all extensions my system supports using GLAD?
In this github issue the GLAD author offers the following way to correctly check if there is an extension is available at runtime:


  The defines just allow you to check at compile time which extensions
  (and opengl versions) are potentially available. After
  loading/initilaizing glad you can check with GLAD_
  if the extension is available at runtime (= supported by the driver
  and loaded).

// [initialize glad] // ...
if (!GLAD_GL_EXT_memory_object) {
    die("GL_EXT_memory_object not supported!"); 
}