mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Updated glext with latest from Khronos.
This commit is contained in:
parent
3785d5e60d
commit
82194c57ee
6 changed files with 12688 additions and 15028 deletions
5235
3rdparty/glext/gl/glcorearb.h
vendored
5235
3rdparty/glext/gl/glcorearb.h
vendored
File diff suppressed because it is too large
Load diff
19519
3rdparty/glext/gl/glext.h
vendored
19519
3rdparty/glext/gl/glext.h
vendored
File diff suppressed because it is too large
Load diff
1537
3rdparty/glext/glx/glxext.h
vendored
1537
3rdparty/glext/glx/glxext.h
vendored
File diff suppressed because it is too large
Load diff
1406
3rdparty/glext/wgl/wglext.h
vendored
1406
3rdparty/glext/wgl/wglext.h
vendored
File diff suppressed because it is too large
Load diff
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue