summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-12 08:45:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-11-12 08:45:51 +0100
commit92c3b6c85ef2268e20a4e072423f5eb902d7acef (patch)
treeca787ce13ed3f0be973c368a88c889add11e0378
parent1d0bd3eb71c8c7905f12dd9c5490f2560d07db78 (diff)
glad: Sync with upstream 0.1.33
-rw-r--r--thirdparty/README.md2
-rw-r--r--thirdparty/glad/glad.c5
-rw-r--r--thirdparty/glad/glad/glad.h4
3 files changed, 7 insertions, 4 deletions
diff --git a/thirdparty/README.md b/thirdparty/README.md
index c99c2165f6..32528b1146 100644
--- a/thirdparty/README.md
+++ b/thirdparty/README.md
@@ -135,7 +135,7 @@ Files extracted from upstream source:
## glad
- Upstream: https://github.com/Dav1dde/glad
-- Version: 0.1.31
+- Version: 0.1.33
- License: MIT
The files we package are automatically generated.
diff --git a/thirdparty/glad/glad.c b/thirdparty/glad/glad.c
index 08c9c7e228..a1fe4d25ef 100644
--- a/thirdparty/glad/glad.c
+++ b/thirdparty/glad/glad.c
@@ -1,6 +1,6 @@
/*
- OpenGL loader generated by glad 0.1.31 on Thu Jul 11 10:09:18 2019.
+ OpenGL loader generated by glad 0.1.33 on Tue Nov 12 08:44:22 2019.
Language/Generator: C/C++
Specification: gl
@@ -31,6 +31,9 @@
static void* get_proc(const char *namez);
#if defined(_WIN32) || defined(__CYGWIN__)
+#ifndef _WINDOWS_
+#undef APIENTRY
+#endif
#include <windows.h>
static HMODULE libGL;
diff --git a/thirdparty/glad/glad/glad.h b/thirdparty/glad/glad/glad.h
index acf96d8cd9..fae71a865e 100644
--- a/thirdparty/glad/glad/glad.h
+++ b/thirdparty/glad/glad/glad.h
@@ -1,6 +1,6 @@
/*
- OpenGL loader generated by glad 0.1.31 on Thu Jul 11 10:09:18 2019.
+ OpenGL loader generated by glad 0.1.33 on Tue Nov 12 08:44:22 2019.
Language/Generator: C/C++
Specification: gl
@@ -3404,7 +3404,7 @@ GLAPI PFNGLWAITSYNCPROC glad_glWaitSync;
typedef void (APIENTRYP PFNGLGETINTEGER64VPROC)(GLenum pname, GLint64 *data);
GLAPI PFNGLGETINTEGER64VPROC glad_glGetInteger64v;
#define glGetInteger64v glad_glGetInteger64v
-typedef void (APIENTRYP PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+typedef void (APIENTRYP PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
GLAPI PFNGLGETSYNCIVPROC glad_glGetSynciv;
#define glGetSynciv glad_glGetSynciv
typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC)(GLenum target, GLuint index, GLint64 *data);