diff options
author | Marek Olšák <[email protected]> | 2019-06-11 18:27:04 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-06-21 19:00:52 -0400 |
commit | 8ab9f3a857317b6556d4d58cfe9bf4e04192ebf2 (patch) | |
tree | 73cefd7f88d42ef4252a1140f85805f360bc82fb /include/GLES3 | |
parent | a6bef350ed9a8802f72dc45023f5ec43ae199431 (diff) |
include: update GL headers from the registry
Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'include/GLES3')
-rw-r--r-- | include/GLES3/gl3.h | 8 | ||||
-rw-r--r-- | include/GLES3/gl31.h | 18 | ||||
-rw-r--r-- | include/GLES3/gl32.h | 18 |
3 files changed, 20 insertions, 24 deletions
diff --git a/include/GLES3/gl3.h b/include/GLES3/gl3.h index 532bbbd3e2e..0de18b6027e 100644 --- a/include/GLES3/gl3.h +++ b/include/GLES3/gl3.h @@ -44,7 +44,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20180725 */ +/* Generated on date 20190611 */ /* Generated C header for: * API: gles2 @@ -62,8 +62,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -670,7 +670,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 diff --git a/include/GLES3/gl31.h b/include/GLES3/gl31.h index 4806181e042..b59a0db1a4e 100644 --- a/include/GLES3/gl31.h +++ b/include/GLES3/gl31.h @@ -1,12 +1,12 @@ -#ifndef __gl31_h_ -#define __gl31_h_ 1 +#ifndef __gles2_gl31_h_ +#define __gles2_gl31_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2016 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 @@ -31,9 +31,7 @@ extern "C" { ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ +** https://github.com/KhronosGroup/OpenGL-Registry */ #include <GLES3/gl3platform.h> @@ -46,7 +44,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20161024 */ +/* Generated on date 20190611 */ /* Generated C header for: * API: gles2 @@ -64,8 +62,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -672,7 +670,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 diff --git a/include/GLES3/gl32.h b/include/GLES3/gl32.h index a1af7c6970d..3fe5bdcde7a 100644 --- a/include/GLES3/gl32.h +++ b/include/GLES3/gl32.h @@ -1,12 +1,12 @@ -#ifndef __gl32_h_ -#define __gl32_h_ 1 +#ifndef __gles2_gl32_h_ +#define __gles2_gl32_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2016 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 @@ -31,9 +31,7 @@ extern "C" { ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ +** https://github.com/KhronosGroup/OpenGL-Registry */ #include <GLES3/gl3platform.h> @@ -46,7 +44,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20161024 */ +/* Generated on date 20190611 */ /* Generated C header for: * API: gles2 @@ -64,8 +62,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -672,7 +670,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 |