summaryrefslogtreecommitdiffstats
path: root/include/GLES3/gl32.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-06-11 18:27:04 -0400
committerMarek Olšák <[email protected]>2019-06-21 19:00:52 -0400
commit8ab9f3a857317b6556d4d58cfe9bf4e04192ebf2 (patch)
tree73cefd7f88d42ef4252a1140f85805f360bc82fb /include/GLES3/gl32.h
parenta6bef350ed9a8802f72dc45023f5ec43ae199431 (diff)
include: update GL headers from the registry
Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'include/GLES3/gl32.h')
-rw-r--r--include/GLES3/gl32.h18
1 files changed, 8 insertions, 10 deletions
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