Protect GL_SILENCE_DEPRECATION from re-definition.
This commit is contained in:
parent
0f41797b7a
commit
09b7b4719d
4
FL/gl.h
4
FL/gl.h
@ -55,7 +55,9 @@
|
||||
# endif
|
||||
|
||||
# ifdef __APPLE__ // PORTME: OpenGL path abstraction
|
||||
# define GL_SILENCE_DEPRECATION 1
|
||||
# ifndef GL_SILENCE_DEPRECATION
|
||||
# define GL_SILENCE_DEPRECATION 1
|
||||
# endif
|
||||
# if !defined(__gl3_h_) // make sure OpenGL/gl3.h was not included before
|
||||
# include <OpenGL/gl.h>
|
||||
# endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user