Updated glad loader to OpenGL 4.6 Compatibility Profile as base and added version support defines to GLExtensions.hpp.

This commit is contained in:
binary1248 2021-03-27 14:00:44 +01:00 committed by Lukas Dürrenberger
parent 748ba1bc82
commit 4fcef893c9
2 changed files with 4905 additions and 475 deletions

File diff suppressed because it is too large Load Diff

View File

@ -308,6 +308,27 @@
#define GLEXT_geometry_shader4 SF_GLAD_GL_ARB_geometry_shader4 #define GLEXT_geometry_shader4 SF_GLAD_GL_ARB_geometry_shader4
#define GLEXT_GL_GEOMETRY_SHADER GL_GEOMETRY_SHADER_ARB #define GLEXT_GL_GEOMETRY_SHADER GL_GEOMETRY_SHADER_ARB
// OpenGL Versions
#define GLEXT_GL_VERSION_1_0 SF_GLAD_GL_VERSION_1_0
#define GLEXT_GL_VERSION_1_1 SF_GLAD_GL_VERSION_1_1
#define GLEXT_GL_VERSION_1_2 SF_GLAD_GL_VERSION_1_2
#define GLEXT_GL_VERSION_1_3 SF_GLAD_GL_VERSION_1_3
#define GLEXT_GL_VERSION_1_4 SF_GLAD_GL_VERSION_1_4
#define GLEXT_GL_VERSION_1_5 SF_GLAD_GL_VERSION_1_5
#define GLEXT_GL_VERSION_2_0 SF_GLAD_GL_VERSION_2_0
#define GLEXT_GL_VERSION_2_1 SF_GLAD_GL_VERSION_2_1
#define GLEXT_GL_VERSION_3_0 SF_GLAD_GL_VERSION_3_0
#define GLEXT_GL_VERSION_3_1 SF_GLAD_GL_VERSION_3_1
#define GLEXT_GL_VERSION_3_2 SF_GLAD_GL_VERSION_3_2
#define GLEXT_GL_VERSION_3_3 SF_GLAD_GL_VERSION_3_3
#define GLEXT_GL_VERSION_4_0 SF_GLAD_GL_VERSION_4_0
#define GLEXT_GL_VERSION_4_1 SF_GLAD_GL_VERSION_4_1
#define GLEXT_GL_VERSION_4_2 SF_GLAD_GL_VERSION_4_2
#define GLEXT_GL_VERSION_4_3 SF_GLAD_GL_VERSION_4_3
#define GLEXT_GL_VERSION_4_4 SF_GLAD_GL_VERSION_4_4
#define GLEXT_GL_VERSION_4_5 SF_GLAD_GL_VERSION_4_5
#define GLEXT_GL_VERSION_4_6 SF_GLAD_GL_VERSION_4_6
#endif #endif
namespace sf namespace sf