mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Removed unused GL specs from glext.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user