diff --git a/src/renderer_gl.h b/src/renderer_gl.h index 6e0f840b5..f54606bb6 100644 --- a/src/renderer_gl.h +++ b/src/renderer_gl.h @@ -8,6 +8,24 @@ #if BGFX_CONFIG_RENDERER_OPENGL # include + +// 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 #elif BGFX_CONFIG_RENDERER_OPENGLES # include