Removed unused GL specs from glext.
This commit is contained in:
parent
eb9f698166
commit
3375076bea
@ -8,6 +8,24 @@
|
|||||||
|
|
||||||
#if BGFX_CONFIG_RENDERER_OPENGL
|
#if BGFX_CONFIG_RENDERER_OPENGL
|
||||||
# include <GL/gl.h>
|
# include <GL/gl.h>
|
||||||
|
|
||||||
|
// 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>
|
# include <gl/glext.h>
|
||||||
#elif BGFX_CONFIG_RENDERER_OPENGLES
|
#elif BGFX_CONFIG_RENDERER_OPENGLES
|
||||||
# include <GLES2/gl2.h>
|
# include <GLES2/gl2.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user