Merge pull request #26576 from akien-mga/glad-0.1.29
glad: Sync with upstream 0.1.29
This commit is contained in:
commit
6e13002034
2
thirdparty/README.md
vendored
2
thirdparty/README.md
vendored
@ -128,7 +128,7 @@ Files extracted from upstream source:
|
|||||||
## glad
|
## glad
|
||||||
|
|
||||||
- Upstream: https://github.com/Dav1dde/glad
|
- Upstream: https://github.com/Dav1dde/glad
|
||||||
- Version: 0.1.28
|
- Version: 0.1.29
|
||||||
- License: MIT
|
- License: MIT
|
||||||
|
|
||||||
The files we package are automatically generated.
|
The files we package are automatically generated.
|
||||||
|
8
thirdparty/glad/glad.c
vendored
8
thirdparty/glad/glad.c
vendored
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
OpenGL loader generated by glad 0.1.28 on Thu Nov 22 16:50:04 2018.
|
OpenGL loader generated by glad 0.1.29 on Mon Mar 4 12:47:22 2019.
|
||||||
|
|
||||||
Language/Generator: C/C++
|
Language/Generator: C/C++
|
||||||
Specification: gl
|
Specification: gl
|
||||||
@ -180,11 +180,7 @@ static int get_exts(void) {
|
|||||||
num_exts_i = 0;
|
num_exts_i = 0;
|
||||||
glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts_i);
|
glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts_i);
|
||||||
if (num_exts_i > 0) {
|
if (num_exts_i > 0) {
|
||||||
char **tmp_exts_i = (char **)realloc((void *)exts_i, (size_t)num_exts_i * (sizeof *exts_i));
|
exts_i = (char **)malloc((size_t)num_exts_i * (sizeof *exts_i));
|
||||||
if (tmp_exts_i == NULL) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
exts_i = tmp_exts_i;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exts_i == NULL) {
|
if (exts_i == NULL) {
|
||||||
|
2
thirdparty/glad/glad/glad.h
vendored
2
thirdparty/glad/glad/glad.h
vendored
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
OpenGL loader generated by glad 0.1.28 on Thu Nov 22 16:50:04 2018.
|
OpenGL loader generated by glad 0.1.29 on Mon Mar 4 12:47:22 2019.
|
||||||
|
|
||||||
Language/Generator: C/C++
|
Language/Generator: C/C++
|
||||||
Specification: gl
|
Specification: gl
|
||||||
|
Loading…
Reference in New Issue
Block a user