diff options
| -rw-r--r-- | FL/gl.h | 1 | ||||
| -rw-r--r-- | FL/mac.H | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,7 @@ # endif # ifdef __APPLE__ // PORTME: OpenGL path abstraction +# define GL_SILENCE_DEPRECATION 1 # if !defined(__gl3_h_) // make sure OpenGL/gl3.h was not included before # include <OpenGL/gl.h> # endif @@ -25,6 +25,9 @@ #ifdef __OBJC__ @class NSOpenGLContext; +# ifndef GL_SILENCE_DEPRECATION +# define GL_SILENCE_DEPRECATION 1 +# endif #elif defined(__cplusplus) class NSOpenGLContext; #endif /* __OBJC__ */ |
