mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Fixed Linux build with GL 3.1
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
# if BGFX_CONFIG_RENDERER_OPENGL >= 31
|
||||
# define GLCOREARB_PROTOTYPES
|
||||
# include <gl/glcorearb.h>
|
||||
# define GL_ARB_shader_objects // OSX collsion with GLhandleARB in gltypes.h
|
||||
# if BX_PLATFORM_OSX
|
||||
# define GL_ARB_shader_objects // OSX collsion with GLhandleARB in gltypes.h
|
||||
# endif // BX_PLATFORM_OSX
|
||||
# else
|
||||
# if BX_PLATFORM_LINUX
|
||||
# define GL_PROTOTYPES
|
||||
|
||||
Reference in New Issue
Block a user