Removed unused GL specs from glext.

This commit is contained in:
bkaradzic 2012-06-02 11:19:28 -07:00
parent eb9f698166
commit 3375076bea

View File

@ -8,6 +8,24 @@
#if BGFX_CONFIG_RENDERER_OPENGL
# 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>
#elif BGFX_CONFIG_RENDERER_OPENGLES
# include <GLES2/gl2.h>