mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 11:25:22 +08:00
Protect GL_SILENCE_DEPRECATION from re-definition.
This commit is contained in:
committed by
Albrecht Schlosser
parent
0f41797b7a
commit
09b7b4719d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user