From 3375076bea5f91eb3a08ebc7c811129cf68b8339 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sat, 2 Jun 2012 11:19:28 -0700 Subject: [PATCH] Removed unused GL specs from glext. --- src/renderer_gl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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