From 8ab9f3a857317b6556d4d58cfe9bf4e04192ebf2 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 11 Jun 2019 18:27:04 -0400 Subject: include: update GL headers from the registry Acked-by: Ilia Mirkin --- include/GLES3/gl32.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'include/GLES3/gl32.h') 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 @@ -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 -- cgit v1.2.3