1 Commits

Author SHA1 Message Date
034101b119 anisotropic 2025-02-13 01:39:32 -05:00
2 changed files with 18 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
/*
OpenGL loader generated by glad 0.1.36 on Mon Nov 25 21:47:40 2024.
OpenGL loader generated by glad 0.1.36 on Thu Feb 13 06:39:18 2025.
Language/Generator: C/C++
Specification: gl
@@ -9,16 +9,17 @@
Extensions:
GL_ARB_depth_texture,
GL_ARB_framebuffer_object,
GL_ARB_shadow
GL_ARB_shadow,
GL_ARB_texture_filter_anisotropic
Loader: True
Local files: False
Omit khrplatform: False
Reproducible: False
Commandline:
--profile="compatibility" --api="gl=2.1" --generator="c" --spec="gl" --extensions="GL_ARB_depth_texture,GL_ARB_framebuffer_object,GL_ARB_shadow"
--profile="compatibility" --api="gl=2.1" --generator="c" --spec="gl" --extensions="GL_ARB_depth_texture,GL_ARB_framebuffer_object,GL_ARB_shadow,GL_ARB_texture_filter_anisotropic"
Online:
https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&loader=on&api=gl%3D2.1&extensions=GL_ARB_depth_texture&extensions=GL_ARB_framebuffer_object&extensions=GL_ARB_shadow
https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&loader=on&api=gl%3D2.1&extensions=GL_ARB_depth_texture&extensions=GL_ARB_framebuffer_object&extensions=GL_ARB_shadow&extensions=GL_ARB_texture_filter_anisotropic
*/
@@ -2773,6 +2774,8 @@ GLAPI PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv;
#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
#ifndef GL_ARB_depth_texture
#define GL_ARB_depth_texture 1
GLAPI int GLAD_GL_ARB_depth_texture;
@@ -2845,6 +2848,10 @@ GLAPI PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer;
#define GL_ARB_shadow 1
GLAPI int GLAD_GL_ARB_shadow;
#endif
#ifndef GL_ARB_texture_filter_anisotropic
#define GL_ARB_texture_filter_anisotropic 1
GLAPI int GLAD_GL_ARB_texture_filter_anisotropic;
#endif
#ifdef __cplusplus
}

View File

@@ -1,6 +1,6 @@
/*
OpenGL loader generated by glad 0.1.36 on Mon Nov 25 21:47:40 2024.
OpenGL loader generated by glad 0.1.36 on Thu Feb 13 06:39:18 2025.
Language/Generator: C/C++
Specification: gl
@@ -9,16 +9,17 @@
Extensions:
GL_ARB_depth_texture,
GL_ARB_framebuffer_object,
GL_ARB_shadow
GL_ARB_shadow,
GL_ARB_texture_filter_anisotropic
Loader: True
Local files: False
Omit khrplatform: False
Reproducible: False
Commandline:
--profile="compatibility" --api="gl=2.1" --generator="c" --spec="gl" --extensions="GL_ARB_depth_texture,GL_ARB_framebuffer_object,GL_ARB_shadow"
--profile="compatibility" --api="gl=2.1" --generator="c" --spec="gl" --extensions="GL_ARB_depth_texture,GL_ARB_framebuffer_object,GL_ARB_shadow,GL_ARB_texture_filter_anisotropic"
Online:
https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&loader=on&api=gl%3D2.1&extensions=GL_ARB_depth_texture&extensions=GL_ARB_framebuffer_object&extensions=GL_ARB_shadow
https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&loader=on&api=gl%3D2.1&extensions=GL_ARB_depth_texture&extensions=GL_ARB_framebuffer_object&extensions=GL_ARB_shadow&extensions=GL_ARB_texture_filter_anisotropic
*/
#include <stdio.h>
@@ -819,6 +820,7 @@ PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv = NULL;
int GLAD_GL_ARB_depth_texture = 0;
int GLAD_GL_ARB_framebuffer_object = 0;
int GLAD_GL_ARB_shadow = 0;
int GLAD_GL_ARB_texture_filter_anisotropic = 0;
PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer = NULL;
PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer = NULL;
PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers = NULL;
@@ -1442,6 +1444,7 @@ static int find_extensionsGL(void) {
GLAD_GL_ARB_depth_texture = has_ext("GL_ARB_depth_texture");
GLAD_GL_ARB_framebuffer_object = has_ext("GL_ARB_framebuffer_object");
GLAD_GL_ARB_shadow = has_ext("GL_ARB_shadow");
GLAD_GL_ARB_texture_filter_anisotropic = has_ext("GL_ARB_texture_filter_anisotropic");
free_exts();
return 1;
}