diff options
Diffstat (limited to 'include/GLES/gl.h')
-rw-r--r-- | include/GLES/gl.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/GLES/gl.h b/include/GLES/gl.h index 056edb3fc83..44dcddc7528 100644 --- a/include/GLES/gl.h +++ b/include/GLES/gl.h @@ -50,9 +50,22 @@ extern "C" { #ifndef GL_VERSION_ES_CM_1_0 #define GL_VERSION_ES_CM_1_0 1 + +/* + * XXX: Temporary fix; needs to be reverted as part of the next + * header update. + * For more details: + * https://github.com/KhronosGroup/OpenGL-Registry/pull/76 + * https://lists.freedesktop.org/archives/mesa-dev/2017-June/161647.html + */ +#include <KHR/khrplatform.h> +typedef khronos_int8_t GLbyte; +typedef khronos_float_t GLclampf; +typedef short GLshort; +typedef unsigned short GLushort; + typedef void GLvoid; typedef unsigned int GLenum; -#include <KHR/khrplatform.h> typedef khronos_float_t GLfloat; typedef khronos_int32_t GLfixed; typedef unsigned int GLuint; |