diff options
Diffstat (limited to 'include/GLES/gl.h')
-rw-r--r-- | include/GLES/gl.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/include/GLES/gl.h b/include/GLES/gl.h index 44dcddc7528..47ddc7eb2dd 100644 --- a/include/GLES/gl.h +++ b/include/GLES/gl.h @@ -1,12 +1,12 @@ -#ifndef __gl_h_ -#define __gl_h_ 1 +#ifndef __gles1_gl_h_ +#define __gles1_gl_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2017 The Khronos Group Inc. +** Copyright (c) 2013-2018 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -36,7 +36,7 @@ extern "C" { #include <GLES/glplatform.h> -/* Generated on date 20170606 */ +/* Generated on date 20190611 */ /* Generated C header for: * API: gles1 @@ -50,20 +50,11 @@ 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 khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef unsigned int GLenum; typedef khronos_float_t GLfloat; |