Carries no dependency (except for user provided function to load OpenGL extension. We use SDL_GL_GetProcAddress)
GLAD sources are integrated into our build system. This may be considered as disadvantage, but it gives us more portability.
Removes dependency from GLEW, which may be missing on some platforms (e.g. latest 32-bit Ubuntu versions)
The generated glad.h includes all available extensions, including GL_ARB_separate_shader_objects, but excluding GL_EXT_separate_shader_objects due to a conflict. I decided that it would be best to not include it at this moment (if ever).
Read more here: https://community.khronos.org/t/confused-gl-active-program-gl-current-program/65477.
Benefits:
SDL_GL_GetProcAddress
)The generated glad.h includes all available extensions, including
GL_ARB_separate_shader_objects
, but excludingGL_EXT_separate_shader_objects
due to a conflict. I decided that it would be best to not include it at this moment (if ever). Read more here: https://community.khronos.org/t/confused-gl-active-program-gl-current-program/65477.