Updated glext with latest from Khronos.

This commit is contained in:
bkaradzic 2013-11-17 14:24:10 -08:00
parent 3785d5e60d
commit 82194c57ee
6 changed files with 12688 additions and 15028 deletions

File diff suppressed because it is too large Load diff

19519
3rdparty/glext/gl/glext.h vendored

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -488,7 +488,7 @@ namespace bgfx
return "<unknown>";
}
static void APIENTRY debugProcCb(GLenum _source, GLenum _type, GLuint _id, GLenum _severity, GLsizei /*_length*/, const GLchar* _message, GLvoid* /*_userParam*/)
static void APIENTRY debugProcCb(GLenum _source, GLenum _type, GLuint _id, GLenum _severity, GLsizei /*_length*/, const GLchar* _message, const void* /*_userParam*/)
{
BX_TRACE("src %s, type %s, id %d, severity %s, '%s'"
, toString(_source)

View file

@ -35,23 +35,6 @@
# include <GL/gl.h>
# endif // BX_PLATFORM_
// remove deprecated from glext.h
# define GL_VERSION_1_2_DEPRECATED
# define GL_ARB_imaging_DEPRECATED
# define GL_VERSION_1_3_DEPRECATED
# define GL_VERSION_1_4_DEPRECATED
# define GL_VERSION_1_5_DEPRECATED
# define GL_VERSION_2_0_DEPRECATED
# define GL_VERSION_2_1_DEPRECATED
// ignore everything above 2.1
# define GL_VERSION_3_0
# define GL_VERSION_3_0_DEPRECATED
# define GL_VERSION_3_1
# define GL_VERSION_3_2
# define GL_VERSION_3_3
# define GL_VERSION_4_0
# define GL_VERSION_4_1
# define GL_VERSION_4_2
# include <gl/glext.h>
# endif // BGFX_CONFIG_RENDERER_OPENGL >= 31